Searched refs:read_only_flag (Results 1 – 1 of 1) sorted by relevance
589 int read_only_flag{}; in SetBlockDeviceReadOnly() local591 int rc = ioctl(fd, BLKROGET, &read_only_flag); in SetBlockDeviceReadOnly()593 if (rc == 0 && read_only_flag == expected_flag) in SetBlockDeviceReadOnly()