btrfs-progs: update to version 4.5.1

musl pthread patch imported from alpinelinux.org

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2016-04-19 14:02:39 +02:00
parent 89f3a24a3f
commit 656f2eb5a7
2 changed files with 14 additions and 3 deletions
@@ -0,0 +1,11 @@
--- btrfs-progs-v4.2.3/chunk-recover.c
+++ btrfs-progs-v4.2.3/chunk-recover.c.new
@@ -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;