Home
last modified time | relevance | path

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

/drivers/s390/block/
Ddasd_devmap.c761 int ro_flag; in dasd_ro_show() local
765 ro_flag = (devmap->features & DASD_FEATURE_READONLY) != 0; in dasd_ro_show()
767 ro_flag = (DASD_FEATURE_DEFAULT & DASD_FEATURE_READONLY) != 0; in dasd_ro_show()
768 return snprintf(buf, PAGE_SIZE, ro_flag ? "1\n" : "0\n"); in dasd_ro_show()