diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2014-05-29 17:59:56 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-10 18:11:32 +0200 |
commit | 8d2abcb6cc50762536fe04c50bf262f1ccf3b9a3 (patch) | |
tree | f8fd847f82c2ef4663783758c0ebceab7555979e /repair.c | |
parent | 31aa2b5fa7fad6b4bc382b9e40d5b44f856a3f53 (diff) |
Btrfs-progs: fsck: only allow partial opening under repair mode
The reason that we allow partial opening is that sometimes,
we may have some corrupted trees.(for example extent tree), for
fsck repair case, the broken tree may be rebuilt later.
So if users only want to do check but not repair anything, this
patch will make fsck return failure as soon as possible and
tell users that some critial roots have been corrupted.
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'repair.c')
0 files changed, 0 insertions, 0 deletions