diff options
author | Fam Zheng <famz@redhat.com> | 2017-05-03 00:35:36 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-05-11 11:02:38 +0200 |
commit | 5176196c3233dcb80aacc719be6b6502bb1c972b (patch) | |
tree | 02c1317adccdd4bce448dd03a37968ab2126365a /include | |
parent | 76d20ea0f1b26ebd5da2f5fb2fdf3250cde887bb (diff) |
block: Make bdrv_perm_names public
It can be used outside of block.c for making user friendly messages.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/block/block.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/block/block.h b/include/block/block.h index 862eb56fc7..9fa0f235a6 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -224,6 +224,8 @@ enum { BLK_PERM_ALL = 0x1f, }; +char *bdrv_perm_names(uint64_t perm); + /* disk I/O throttling */ void bdrv_init(void); void bdrv_init_with_whitelist(void); |