Btrfs-progs: rework open_ctree to take flags, add a new one V2
authorJosef Bacik <jbacik@fusionio.com>
Mon, 28 Oct 2013 18:28:43 +0000 (14:28 -0400)
committerChris Mason <chris.mason@fusionio.com>
Thu, 7 Nov 2013 21:10:40 +0000 (16:10 -0500)
commit4735d0bb8248a3900f420cb9144e4f7969f0b44d
treefebecdd28a64d93816e63a1bf36d6864a732dcd8
parent337f86fea1d06e189f3cf234adba2567a07678bd
Btrfs-progs: rework open_ctree to take flags, add a new one V2

So I needed to add a flag to not try to read block groups when doing
--init-extent-tree since we could hang there, but that meant adding a whole
other 0/1 type flag to open_ctree_fs_info.  So instead I've converted it all
over to using a flags setting and added the flag that I needed.  This has been
tested with xfstests and make test.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
15 files changed:
btrfs-convert.c
btrfs-corrupt-block.c
btrfs-debug-tree.c
btrfs-image.c
btrfs-zero-log.c
btrfstune.c
cmds-check.c
cmds-chunk.c
cmds-restore.c
disk-io.c
disk-io.h
mkfs.c
quick-test.c
super-recover.c
utils.c