path: root/utils.h
diff options
authorSatoru Takeuchi <>2014-08-01 11:58:00 +0900
committerDavid Sterba <>2014-08-22 15:07:04 +0200
commitc2d83207bf964e6c0624ce870a01ac1b13ab165b (patch)
tree709a053bf9a72c423f37ed09dbd122d0476acf51 /utils.h
parent91b33340576e9c59353a89f0edb7b72a5a60ad3f (diff)
btrfs-progs: move test_isdir() to utils.c
Since test_isdir() is a utility function, it's better to move it to utils.c. In addition, "const char *" is more appropriate type as its "path" argument because this argument is not changed in this function. Signed-off-by: Satoru Takeuchi <> Cc: David Sterba <> Cc: Mike Fleetwood <> Signed-off-by: David Sterba <>
Diffstat (limited to 'utils.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index e3d80c10..fd25126d 100644
--- a/utils.h
+++ b/utils.h
@@ -117,6 +117,7 @@ int test_uuid_unique(char *fs_uuid);
int test_minimum_size(const char *file, u32 leafsize);
int test_issubvolname(const char *name);
+int test_isdir(const char *path);
* Btrfs minimum size calculation is complicated, it should include at least: