From: Stefan Behrens Date: Mon, 27 Aug 2012 14:30:03 +0000 (-0600) Subject: Btrfs: revert checksum error statistic which can cause a BUG() X-Git-Tag: v3.6-rc4~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ee0844d6427e7338e0aba748f62b62d07ea2ed0;p=pandora-kernel.git Btrfs: revert checksum error statistic which can cause a BUG() Commit 442a4f6308e694e0fa6025708bd5e4e424bbf51c added btrfs device statistic counters for detected IO and checksum errors to Linux 3.5. The statistic part that counts checksum errors in end_bio_extent_readpage() can cause a BUG() in a subfunction: "kernel BUG at fs/btrfs/volumes.c:3762!" That part is reverted with the current patch. However, the counting of checksum errors in the scrub context remains active, and the counting of detected IO errors (read, write or flush errors) in all contexts remains active. Cc: stable # 3.5 Signed-off-by: Stefan Behrens Signed-off-by: Chris Mason --- Reading git-diff-tree failed