From: Jeff Mahoney Date: Thu, 1 Mar 2012 13:56:27 +0000 (+0100) Subject: btrfs: clean_tree_block should panic on observed memory corruption and return void X-Git-Tag: v3.4-rc1~22^2~13^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c13f927fe77b11a67f79559808c68b26474c77;p=pandora-kernel.git btrfs: clean_tree_block should panic on observed memory corruption and return void The only error condition in clean_tree_block is an accounting bug. Returning without modifying dirty_metadata_bytes and as if the cleaning as been performed may cause problems later so it should panic instead. It should probably be a BUG_ON but we have btrfs_panic now. Signed-off-by: Jeff Mahoney --- Reading git-diff-tree failed