aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-05-03 00:35:36 +0800
committerKevin Wolf <kwolf@redhat.com>2017-05-11 11:02:38 +0200
commit5176196c3233dcb80aacc719be6b6502bb1c972b (patch)
tree02c1317adccdd4bce448dd03a37968ab2126365a /block.c
parent76d20ea0f1b26ebd5da2f5fb2fdf3250cde887bb (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 'block.c')
-rw-r--r--block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block.c b/block.c
index a45b9b5c29..e3aa7f0824 100644
--- a/block.c
+++ b/block.c
@@ -1586,7 +1586,7 @@ static char *bdrv_child_user_desc(BdrvChild *c)
return g_strdup("another user");
}
-static char *bdrv_perm_names(uint64_t perm)
+char *bdrv_perm_names(uint64_t perm)
{
struct perm_name {
uint64_t perm;