diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-03-24 15:03:18 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-03-24 15:03:18 -0400 |
commit | 510be296772108b6d5ae829d76cef2b1a1690262 (patch) | |
tree | 39cfcefb9891552b388a04e0b5c05b1228f1716e /utils.h | |
parent | 00eb6ff6566816982903eb8c817606d6961c61ea (diff) |
Add support for multiple devices per filesystem
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 |