projects
/
feed
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
at: bump version
[feed/packages.git]
/
utils
/
btrfs-progs
/
patches
/
0001-use-pthread_join-instead-of-pthread_tryjoin_np.patch
1
--- a/chunk-recover.c
2
+++ b/chunk-recover.c
3
@@ -887,7 +887,7 @@ static int scan_devices(struct recover_c
4
for (i = 0; i < devidx; i++) {
5
if (dev_scans[i].bytenr == -1)
6
continue;
7
- ret = pthread_tryjoin_np(t_scans[i],
8
+ ret = pthread_join(t_scans[i],
9
(void **)&t_rets[i]);
10
if (ret == EBUSY) {
11
all_done = 0;