Searched refs:read_only_flag (Results 1 – 1 of 1) sorted by relevance
526 int read_only_flag; in SetBlockDeviceReadOnly() local528 int rc = ioctl(fd, BLKROGET, &read_only_flag); in SetBlockDeviceReadOnly()530 if (rc == 0 && read_only_flag == expected_flag) in SetBlockDeviceReadOnly()