btrfs-progs: mkfs: Cleanup temporary chunks before filling rootdir
authorQu Wenruo <wqu@suse.com>
Wed, 29 Nov 2017 06:31:39 +0000 (14:31 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Jan 2018 17:11:38 +0000 (18:11 +0100)
commit2fd0f3a98040a9744869d7c50f744250b1cac6fe
tree136af4387a8d0417c4f52e333ce8dd4d4ef6c7c6
parent41bc9875115448cce991867e7b7160477e92b272
btrfs-progs: mkfs: Cleanup temporary chunks before filling rootdir

Cleanup of temporary chunks should be done as soon as possible, and it
should be especially before doing large tree operations, like filling
the filesystem when using --rootdir.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
mkfs/main.c