Changeset 263a2389 in mainline for uspace/lib/device


Ignore:
Timestamp:
2025-06-22T07:26:20Z (4 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
c2d737d
Parents:
81b4c795
Message:

hr: rename volume state ONLINE to OPTIMAL

Location:
uspace/lib/device
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/device/include/hr.h

    r81b4c795 r263a2389  
    6666typedef enum hr_vol_state {
    6767        HR_VOL_NONE = 0, /* Unknown/None */
    68         HR_VOL_ONLINE, /* optimal */
     68        HR_VOL_OPTIMAL, /* optimal */
    6969        HR_VOL_FAULTY, /* unusable */
    7070        HR_VOL_DEGRADED, /* not optimal */
  • uspace/lib/device/src/hr.c

    r81b4c795 r263a2389  
    446446        case HR_VOL_NONE:
    447447                return "NONE/UNKNOWN";
    448         case HR_VOL_ONLINE:
    449                 return "ONLINE";
     448        case HR_VOL_OPTIMAL:
     449                return "OPTIMAL";
    450450        case HR_VOL_FAULTY:
    451451                return "FAULTY";
Note: See TracChangeset for help on using the changeset viewer.