From: Qu Wenruo Date: Tue, 5 May 2015 02:53:15 +0000 (+0800) Subject: btrfs: Fix superblock csum type check. X-Git-Tag: omap-for-v4.2/fixes-rc1^2~69^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f6e4b3f9f7c859fed7ac4c0853e976a1a752873;p=pandora-kernel.git btrfs: Fix superblock csum type check. Old csum type check is wrong and can't catch csum_type 1(not supported). Fix it to avoid hostile 0 division. Reported-by: Lukas Lueg Signed-off-by: Qu Wenruo Reviewed-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed