diff options
author | David Sterba <dsterba@suse.cz> | 2014-09-30 19:16:47 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-10-03 16:14:59 -0700 |
commit | c926093ec516f5d316ecdf8c1be11f577ac71b85 (patch) | |
tree | 80cea5b9e2d7264940ae53a5ab2808a34dc107f9 /fs/btrfs/relocation.c | |
parent | 42383020beb1cfb05f5d330cc311931bc4917a97 (diff) |
btrfs: add more superblock checks
Populate btrfs_check_super_valid() with checks that try to verify
consistency of superblock by additional conditions that may arise from
corrupted devices or bitflips. Some of tests are only hints and issue
warnings instead of failing the mount, basically when the checks are
derived from the data found in the superblock.
Tested on a broken image provided by Qu.
Reported-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions