Even more read-write/read-only fixes and cleanup
Status from this message: Applied all. Thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | No need anymoe for bdrv_set_read_onlyblock.c block.h | +0 | 1 reply | |
| 1/3 | No need anymore for bdrv_set_read_onlyblock.c block.h | +0 | 0 replies | |
| 2/3 | Ask for read-write permissions when opening filesblock/ block/ qemu-img.c | +4 | 0 replies | |
| 2/3 | Ask for read-write permissions when opening files where neededblock/ block/ qemu-img.c | +4 | 0 replies | |
| 3/3 | Read-only device changed to opens it's file for read-only.block/ block/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/3] Even more read-write/read-only fixes and cleanup
A comment from Christoph Hellwig made me check (and fix) some stuff.
I'm afraid there are some more callers that needs to explicitly ask for read-write permissions. I'd like to get comments about that.
P.S. The qcow2 bug (I introduced) in pre-allocate showed me there's a need to check return value.
Naphtali Sprei (3):
No need anymore for bdrv_set_read_only
Ask for read-write permissions when opening files where needed Read-only device changed to opens it's file for read-only.
block.c | 7 ------- block.h | 1 - block/bochs.c | 6 ++---- block/parallels.c | 6 ++---- block/qcow2.c | 2 +- block/vvfat.c | 2 +- qemu-img.c | 4 ++-- 7 files changed, 8 insertions(+), 20 deletions(-)