btrfs-progs: mkfs/rootdir: Shrink fs for rootdir option
authorQu Wenruo <wqu@suse.com>
Thu, 19 Oct 2017 07:12:58 +0000 (15:12 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Jan 2018 17:15:13 +0000 (18:15 +0100)
commitc28418daed603d4943edc8b213b91f8d1e2b9fe3
treef91031c23a232d8613c7ad578b50392c45c62001
parent599a0abed5649727dc3b6ec4ec373ba30253df45
btrfs-progs: mkfs/rootdir: Shrink fs for rootdir option

Use the new dev extent based shrink method for rootdir option. This
restores the original behaviour when --rootdir will create a minimal
filesystem size.

Signed-off-by: Qu Wenruo <wqu@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
mkfs/main.c
mkfs/rootdir.c
mkfs/rootdir.h