path: root/btrfs-convert.c
diff options
authorFilipe David Borba Manana <>2013-08-17 14:48:29 +0100
committerDavid Sterba <>2013-09-03 19:41:13 +0200
commitd608d404c3b5312d086401847b9f30df4f790861 (patch)
tree70666a5a6644a4b80b3c0f2497347ffbecb8294b /btrfs-convert.c
parentda10563d8b9c1e63ac55a318c85f3a03fff952c4 (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 <> Signed-off-by: David Sterba <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'btrfs-convert.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-convert.c b/btrfs-convert.c
index a1fb6456..221dd45d 100644
--- a/btrfs-convert.c
+++ b/btrfs-convert.c
@@ -2319,7 +2319,7 @@ static int do_convert(const char *devname, int datacsum, int packing,
ret = make_btrfs(fd, devname, ext2_fs->super->s_volume_name,
blocks, total_bytes, blocksize, blocksize,
- blocksize, blocksize);
+ blocksize, blocksize, 0);
if (ret) {
fprintf(stderr, "unable to create initial ctree: %s\n",