From: Zhao Lei Date: Tue, 20 Jan 2015 07:11:35 +0000 (+0800) Subject: Btrfs: Fix a jump typo of nodatasum_case to avoid wrong WARN_ON() X-Git-Tag: fixes-v4.0-rc1~50^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b25c94c580c27bb6cff1e2f478746e77119215ad;p=pandora-kernel.git Btrfs: Fix a jump typo of nodatasum_case to avoid wrong WARN_ON() if (sctx->is_dev_replace && !is_metadata && !have_csum) { ... goto nodatasum_case; } ... nodatasum_case: WARN_ON(sctx->is_dev_replace); In above code, nodatasum_case marker should be moved after WARN_ON(). Signed-off-by: Zhao Lei Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed