libbtrfsutil: use local mkfs.btrfs for tests if it exists
[platform/upstream/btrfs-progs.git] / mkfs / rootdir.h
index 015e5ad..f06c7dd 100644 (file)
 
 struct directory_name_entry {
        const char *dir_name;
-       const char *path;
+       char *path;
        ino_t inum;
        struct list_head list;
 };
 
 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,
+                        bool shrink_file_size);
 
 #endif