]> git.proxmox.com Git - mirror_qemu.git/commit
vvfat: Implement .bdrv_child_perm()
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Dec 2016 15:23:46 +0000 (16:23 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:36 +0000 (20:40 +0100)
commit91ef38257ad225f7fa17a6583fb792c0be9e8acf
treed2b9fb9279f42106392fc9cb74d18d4a45ead62a
parent862f215fabf31c80c953155fcb223fea5320bbdf
vvfat: Implement .bdrv_child_perm()

vvfat is the last remaining driver that can have children, but doesn't
implement .bdrv_child_perm() yet. The default handlers aren't suitable
here, so let's implement a very simple driver-specific one that protects
the internal child from being used by other users as good as our
permissions permit.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
block.c
block/vvfat.c
include/block/block_int.h