btrfs-progs: convert: Introduce new function to create converted image
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Fri, 29 Jan 2016 05:03:25 +0000 (13:03 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 Jun 2016 16:15:19 +0000 (18:15 +0200)
commite653d42658033ac636fb8fa846ba08e6dd81c308
tree8146bef3f49719c2203decc164d23371c15340c5
parenta21cc1ca3fcd685fe0a85d3d9b12d2d5cd72eb94
btrfs-progs: convert: Introduce new function to create converted image

Use new function, create_convert_image_v2() to create snapshot of old
filesystem.

Unlike old function which is called after copying all inodes, this
function need to be called before copying inodes.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-convert.c