From: Yan Date: Mon, 29 Oct 2007 16:01:05 +0000 (-0400) Subject: Minor fix for btrfs_csum_file_block. X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~430 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b56baf5bedccd3258643b09289f17ceab3ddea52;p=pandora-kernel.git Minor fix for btrfs_csum_file_block. Execution should goto label 'insert' when 'btrfs_next_leaf' return a non-zero value, otherwise the parameter 'slot' for 'btrfs_item_key_to_cpu' may be out of bounds. The original codes jump to label 'insert' only when 'btrfs_next_leaf' return a negative value. Signed-off-by: Chris Mason --- Reading git-diff-tree failed