From: Srinivas Eeda Date: Tue, 5 Oct 2010 22:53:06 +0000 (-0700) Subject: ocfs2: validate bg_free_bits_count after update X-Git-Tag: v2.6.37-rc1~182^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b5cd10e4c14a1a642076ace6a73be3d33c91fb6;p=pandora-kernel.git ocfs2: validate bg_free_bits_count after update This patch adds a safe check to ensure bg_free_bits_count doesn't exceed bg_bits in a group descriptor. This is to avoid on disk corruption that was seen recently. debugfs: group <52803072> Group Chain: 179 Parent Inode: 11 Generation: 2959379682 CRC32: 00000000 ECC: 0000 ## Block# Total Used Free Contig Size 0 52803072 32256 4294965350 34202 18207 4032 ...... Signed-off-by: Srinivas Eeda Signed-off-by: Joel Becker --- Reading git-diff-tree failed