summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-02-01 15:56:27 +0800
committerDavid Sterba <dsterba@suse.cz>2013-02-01 16:55:05 +0100
commit16ef0a0c3c7e7811dabee76775f170f1a7c61855 (patch)
tree5a679ea4b440044dde0ae7bcba35acc48ee03539 /commands.h
parente260954a9e847c1e3ed0d2f457e256eb4726f5f2 (diff)
downloadbtrfs-progs-16ef0a0c3c7e7811dabee76775f170f1a7c61855.tar.gz
Btrfs-progs: make get_subvol_name non cmds-send specific
get_subvol_name can be used other than the just with in cmds-send.c so this patch will make it possible with out changing the original intentions. Signed-off-by: Anand Jain <anand.jain@oracle.com>
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index 1124f2e..33eb99a 100644
--- a/commands.h
+++ b/commands.h
@@ -111,3 +111,4 @@ int test_issubvolume(char *path);
/* send.c */
int find_mount_root(const char *path, char **mount_root);
+char *get_subvol_name(char *mnt, char *full_path);