Btrfs-progs: put find_mount_root() in commands.h
authorAnand Jain <anand.jain@oracle.com>
Fri, 1 Feb 2013 07:56:25 +0000 (15:56 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 1 Feb 2013 15:55:05 +0000 (16:55 +0100)
A useful function need to define it in a header file.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
commands.h

index 64988e7..1124f2e 100644 (file)
@@ -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);