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
338 B

  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;