From: David Sterba Date: Tue, 30 Sep 2014 17:16:47 +0000 (+0200) Subject: btrfs: add more superblock checks X-Git-Tag: fixes-against-v3.18-rc2~120^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c926093ec516f5d316ecdf8c1be11f577ac71b85;p=pandora-kernel.git 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 Signed-off-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed