libbtrfsutil: use local mkfs.btrfs for tests if it exists
[platform/upstream/btrfs-progs.git] / mkfs / rootdir.h
index 3618b89..f06c7dd 100644 (file)
@@ -23,7 +23,7 @@
 
 struct directory_name_entry {
        const char *dir_name;
-       const char *path;
+       char *path;
        ino_t inum;
        struct list_head list;
 };
@@ -32,6 +32,7 @@ int btrfs_mkfs_fill_dir(const char *source_dir, struct btrfs_root *root,
                        bool verbose);
 u64 btrfs_mkfs_size_dir(const char *dir_name, u32 sectorsize, u64 min_dev_size,
                        u64 meta_profile, u64 data_profile);
-int btrfs_mkfs_shrink_fs(struct btrfs_fs_info *fs_info, u64 *new_size_ret);
+int btrfs_mkfs_shrink_fs(struct btrfs_fs_info *fs_info, u64 *new_size_ret,
+                        bool shrink_file_size);
 
 #endif