diff options
author | Filipe David Borba Manana <fdmanana@gmail.com> | 2013-08-17 14:48:29 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-09-03 19:41:13 +0200 |
commit | d608d404c3b5312d086401847b9f30df4f790861 (patch) | |
tree | 70666a5a6644a4b80b3c0f2497347ffbecb8294b /utils.h | |
parent | da10563d8b9c1e63ac55a318c85f3a03fff952c4 (diff) |
Btrfs-progs: mkfs can now create fs with skinny extents
Before this change, passing -O skinny-metadata to mkfs.btrfs would
only set the skinny metadata incompat flag in the super block after
the filesystem was created. This change makes mkfs.btrfs directly
create a filesystem with only skinny extents for metadata.
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ int make_btrfs(int fd, const char *device, const char *label, u64 blocks[6], u64 num_bytes, u32 nodesize, - u32 leafsize, u32 sectorsize, u32 stripesize); + u32 leafsize, u32 sectorsize, u32 stripesize, u64 features); int btrfs_make_root_dir(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid); int btrfs_prepare_device(int fd, char *file, int zero_end, u64 *block_count_ret, |