Changeset 8300c72 in mainline for uspace/srv/system/system.c
- Timestamp:
- 2025-03-03T22:58:05Z (5 months ago)
- Branches:
- master
- Children:
- 77a0119
- Parents:
- f35749e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/system/system.c
rf35749e r8300c72 35 35 */ 36 36 37 #include <devman.h> 37 38 #include <fibril.h> 38 39 #include <futil.h> … … 522 523 /* Eject all volumes. */ 523 524 525 log_msg(LOG_DEFAULT, LVL_NOTE, "Ejecting volumes."); 526 524 527 rc = vol_create(&vol); 525 528 if (rc != EOK) { … … 545 548 546 549 free(part_ids); 550 part_ids = NULL; 547 551 vol_destroy(vol); 552 vol = NULL; 553 554 /* Quiesce the device tree. */ 555 556 log_msg(LOG_DEFAULT, LVL_NOTE, "Quiescing devices."); 557 558 rc = devman_quiesce_devices("/hw"); 559 if (rc != EOK) { 560 log_msg(LOG_DEFAULT, LVL_ERROR, 561 "Failed to quiesce device tree."); 562 goto error; 563 } 564 548 565 return EOK; 549 566 error:
Note:
See TracChangeset
for help on using the changeset viewer.