Add open_ctree_fs_info for partial FS opens
authorChris Mason <chris.mason@oracle.com>
Sun, 5 Feb 2012 21:11:48 +0000 (16:11 -0500)
committerChris Mason <chris.mason@oracle.com>
Sun, 5 Feb 2012 21:11:48 +0000 (16:11 -0500)
commite7580bb29644128d19cfe70a16df713bdcc58a43
tree25889d9d37f26e4c796c2955032a2dfbe645e47d
parent6cd813b6fc18ba75edfcfad5857d27f0265c2c28
Add open_ctree_fs_info for partial FS opens

fsck needs to be able to open a damaged FS, which means open_ctree needs
to be able to return a damaged FS.

This adds a new open_ctree_fs_info which can be used to open any and all
roots that are valid.  btrfs-debug-tree is changed to use it.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
btrfsck.c
debug-tree.c
disk-io.c
disk-io.h
extent_io.c