aboutsummaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2016-03-21 15:21:03 +0800
committerDavid Sterba <dsterba@suse.com>2016-03-30 16:25:23 +0200
commit8cec21a7ed91e0d4c49f1fbe188622af0586602c (patch)
tree32ea5c127a0e3c17f77a7fc5aa0e4e777d813722 /utils.h
parent0f9a5cf70cf6f6c3f02ef3dd999e13f334bc29bb (diff)
downloadbtrfs-progs-8cec21a7ed91e0d4c49f1fbe188622af0586602c.tar.gz
btrfs-progs-8cec21a7ed91e0d4c49f1fbe188622af0586602c.tar.xz
btrfs-progs-8cec21a7ed91e0d4c49f1fbe188622af0586602c.zip
btrfs-progs: move get_subvol_name() to utils.c
Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 32bb020..c6395b0 100644
--- a/utils.h
+++ b/utils.h
@@ -197,6 +197,8 @@ int test_issubvolname(const char *name);
int test_issubvolume(const char *path);
int test_isdir(const char *path);
+char *get_subvol_name(char *mnt, char *full_path);
+
/*
* Btrfs minimum size calculation is complicated, it should include at least:
* 1. system group size