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
471 bs->keep_read_only = bs->read_only = !(open_flags & BDRV_O_RDWR); in bdrv_open_common()626 bs->backing_hd->keep_read_only = !(flags & BDRV_O_RDWR); in bdrv_open()629 bs->backing_hd->keep_read_only = bs->keep_read_only; in bdrv_open()764 if (bs->backing_hd->keep_read_only) { in bdrv_commit()841 bs->backing_hd->keep_read_only = 0; in bdrv_commit()