12 lines
298 B
Diff
12 lines
298 B
Diff
|
--- chunk-recover.c.orig
|
||
|
+++ chunk-recover.c
|
||
|
@@ -883,7 +883,7 @@
|
||
|
for (i = 0; i < devidx; i++) {
|
||
|
if (dev_scans[i].bytenr == -1)
|
||
|
continue;
|
||
|
- ret = pthread_tryjoin_np(t_scans[i],
|
||
|
+ ret = pthread_join(t_scans[i],
|
||
|
(void **)&t_rets[i]);
|
||
|
if (ret == EBUSY) {
|
||
|
all_done = 0;
|