Searched refs:keep_read_only (Results 1 – 2 of 2) sorted by relevance
143 int keep_read_only; /* if true, the media was requested to stay read only */ member
469 bs->keep_read_only = bs->read_only = !(open_flags & BDRV_O_RDWR); in bdrv_open_common()624 bs->backing_hd->keep_read_only = !(flags & BDRV_O_RDWR); in bdrv_open()627 bs->backing_hd->keep_read_only = bs->keep_read_only; in bdrv_open()762 if (bs->backing_hd->keep_read_only) { in bdrv_commit()839 bs->backing_hd->keep_read_only = 0; in bdrv_commit()