You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
335 B

  1. --- btrfs-progs-v4.2.3/chunk-recover.c
  2. +++ btrfs-progs-v4.2.3/chunk-recover.c.new
  3. @@ -883,7 +883,7 @@
  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;