Skip to content

block: make .bdrv_close optional

Vladimir Sementsov-Ogievskiy qemu-devel 1 version Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2block: make .bdrv_close optionalblock.c block/snapshot.c+6 -20 replies
2/2block: drop empty .bdrv_close handlersblock/blkreplay.c block/commit.c block/copy-on-read.c +3 more+0 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] block: make .bdrv_close optional

Several block drivers have to define empty .bdrv_close handler. Let's instead make it optional.

Vladimir Sementsov-Ogievskiy (2):
block: make .bdrv_close optional
block: drop empty .bdrv_close handlers

 block.c              | 4 +++-
 block/blkreplay.c    | 5 -----
 block/commit.c       | 5 -----
 block/copy-on-read.c | 6 ------
 block/mirror.c       | 5 -----
 block/null.c         | 6 ------
 block/raw-format.c   | 5 -----
 block/snapshot.c     | 4 +++-
 8 files changed, 6 insertions(+), 34 deletions(-)
Signature · 1 line
2.11.1