btrfs-progs: mkfs: Update allocation info before verbose output
authorQu Wenruo <wqu@suse.com>
Fri, 20 Oct 2017 01:59:06 +0000 (09:59 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Jan 2018 17:11:37 +0000 (18:11 +0100)
commit41bc9875115448cce991867e7b7160477e92b272
treed37504d6577710bcba69b5fa82b6a6c31cc53b7a
parent0a7a48e1e83710f44ca1dc648bf4c0d5719be057
btrfs-progs: mkfs: Update allocation info before verbose output

Since new --rootdir can allocate chunk, it will modify the chunk
allocation result.

This patch will update allocation info before verbose output to reflect
such info.

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