Changeset ba65caf5 in mainline


Ignore:
Timestamp:
2025-07-08T14:43:40Z (2 weeks ago)
Author:
Miroslav Cimerman <mc@…>
Children:
c5c367a
Parents:
f7169a6
Message:

hr: hr.c: potentially answer EBUSY on HR_STOP_ALL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/hr.c

    rf7169a6 rba65caf5  
    333333                goto fail;
    334334
    335         for (i = 0; i < vol_cnt; i++)
    336                 (void)hr_remove_volume(vol_svcs[i]);
     335        for (i = 0; i < vol_cnt; i++) {
     336                errno_t rc2 = hr_remove_volume(vol_svcs[i]);
     337                if (rc2 == EBUSY)
     338                        rc = EBUSY;
     339        }
    337340
    338341fail:
Note: See TracChangeset for help on using the changeset viewer.