diff options
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -18,8 +18,12 @@ #ifndef __UTILS__ #define __UTILS__ -int make_btrfs(int fd, u64 new_blocks[4], u64 num_bytes, u32 nodesize, - u32 leafsize, u32 sectorsize, u32 stripesize); + +#define BTRFS_MKFS_SYSTEM_GROUP_SIZE (4 * 1024 * 1024) + +int make_btrfs(int fd, char *device_name, + u64 blocks[6], u64 num_bytes, u32 nodesize, + u32 leafsize, u32 sectorsize, u32 stripesize); int btrfs_make_root_dir(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid); #endif |