diff options
author | Max Reitz | 2020-05-13 13:05:40 +0200 |
---|---|---|
committer | Kevin Wolf | 2020-05-18 19:05:25 +0200 |
commit | 87278af1d9bac404e1c64ee2b652193a4c2628a6 (patch) | |
tree | 0a2a6c73ef19bc4eb4101486e419e855a74e8b64 /include/block | |
parent | block: Use bdrv_default_perms() (diff) | |
download | qemu-87278af1d9bac404e1c64ee2b652193a4c2628a6.tar.gz qemu-87278af1d9bac404e1c64ee2b652193a4c2628a6.tar.xz qemu-87278af1d9bac404e1c64ee2b652193a4c2628a6.zip |
block: Make bdrv_filter_default_perms() static
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200513110544.176672-31-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/block_int.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index 0781d43af5..6fc5f0d333 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -1263,16 +1263,6 @@ int bdrv_child_try_set_perm(BdrvChild *c, uint64_t perm, uint64_t shared, int bdrv_child_refresh_perms(BlockDriverState *bs, BdrvChild *c, Error **errp); /* Default implementation for BlockDriver.bdrv_child_perm() that can be used by - * block filters: Forward CONSISTENT_READ, WRITE, WRITE_UNCHANGED and RESIZE to - * all children */ -void bdrv_filter_default_perms(BlockDriverState *bs, BdrvChild *c, - const BdrvChildClass *child_class, - BdrvChildRole child_role, - BlockReopenQueue *reopen_queue, - uint64_t perm, uint64_t shared, - uint64_t *nperm, uint64_t *nshared); - -/* Default implementation for BlockDriver.bdrv_child_perm() that can be used by * (non-raw) image formats: Like above for bs->backing, but for bs->file it * requires WRITE | RESIZE for read-write images, always requires * CONSISTENT_READ and doesn't share WRITE. */ |