Changeset 95ca19d in mainline for uspace/srv/bd/hr/raid0.c


Ignore:
Timestamp:
2025-06-30T09:31:21Z (9 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
059885c
Parents:
640250b
Message:

hr: add —read-only volume flag

File:
1 edited

Legend:

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

    r640250b r95ca19d  
    256256                return EINVAL;
    257257
     258        if (vol->vflags & HR_VOL_FLAG_READ_ONLY && type == HR_BD_WRITE)
     259                return ENOTSUP;
     260
    258261        fibril_rwlock_read_lock(&vol->states_lock);
    259262        if (vol->state != HR_VOL_OPTIMAL) {
Note: See TracChangeset for help on using the changeset viewer.