Lines Matching full:read_only_flag
665 int read_only_flag;667 int rc = ioctl(fd, BLKROGET, &read_only_flag);669 if (rc == 0 && read_only_flag == expected_flag)