summaryrefslogtreecommitdiff
path: root/btrfs_cmds.c
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2011-07-18 14:37:21 +0200
committerChris Mason <chris.mason@oracle.com>2011-10-25 09:18:59 -0400
commit19011f9ab6f9f9d05bde16761cd5613e1f815525 (patch)
treee4ce423ce23e0486ccae184039ff0567462f2bf9 /btrfs_cmds.c
parentd8e974fb4c81c35ee25cd2a45b8e1d50db7def9a (diff)
btrfs-progs: commands added
- scrub commands added - open_file_or_dir no longer static (needed by scrub.c) Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
Diffstat (limited to 'btrfs_cmds.c')
-rw-r--r--btrfs_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs_cmds.c b/btrfs_cmds.c
index 72129d98..d91bccd5 100644
--- a/btrfs_cmds.c
+++ b/btrfs_cmds.c
@@ -91,7 +91,7 @@ static int test_isdir(char *path)
}
-static int open_file_or_dir(const char *fname)
+int open_file_or_dir(const char *fname)
{
int ret;
struct stat st;