summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-02-01 15:56:25 +0800
committerDavid Sterba <dsterba@suse.cz>2013-02-01 16:55:05 +0100
commit64f9c407590e1ec0e1a699234fb7354e11624c9e (patch)
tree08f651c47f7ce8db0deef637d52d0201ab5af021 /commands.h
parentd985294b027abec63c808d10d7a1f54c6a91b517 (diff)
Btrfs-progs: put find_mount_root() in commands.h
A useful function need to define it in a header file. Signed-off-by: Anand Jain <anand.jain@oracle.com>
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index 64988e78..1124f2e8 100644
--- a/commands.h
+++ b/commands.h
@@ -108,3 +108,6 @@ int cmd_replace(int argc, char **argv);
/* subvolume exported functions */
int test_issubvolume(char *path);
+
+/* send.c */
+int find_mount_root(const char *path, char **mount_root);