Home
last modified time | relevance | path

Searched refs:ro_flag (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/s390/block/
Ddasd_devmap.c753 int ro_flag = 0; in dasd_ro_show() local
759 ro_flag = !!(devmap->features & DASD_FEATURE_READONLY); in dasd_ro_show()
764 ro_flag |= test_bit(DASD_FLAG_DEVICE_RO, &device->flags); in dasd_ro_show()
768 return snprintf(buf, PAGE_SIZE, ro_flag ? "1\n" : "0\n"); in dasd_ro_show()