Changeset 18c3658 in mainline for uspace/srv/bd/hr/raid1.c


Ignore:
Timestamp:
2025-04-21T12:26:28Z (3 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
80c760e
Parents:
f09b75b
Message:

hr: raid{0,1,5}.c: unusable volume creation message

File:
1 edited

Legend:

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

    rf09b75b r18c3658  
    115115        hr_vol_status_t state = new_volume->status;
    116116        fibril_rwlock_read_unlock(&new_volume->states_lock);
    117         if (state == HR_VOL_FAULTY || state == HR_VOL_NONE)
     117        if (state == HR_VOL_FAULTY || state == HR_VOL_NONE) {
     118                HR_NOTE("\"%s\": unusable state, not creating\n",
     119                    new_volume->devname);
    118120                return EINVAL;
     121        }
    119122
    120123        return EOK;
Note: See TracChangeset for help on using the changeset viewer.