git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e9606d
)
Btrfs: Fix a jump typo of nodatasum_case to avoid wrong WARN_ON()
author
Zhao Lei
<zhaolei@cn.fujitsu.com>
Tue, 20 Jan 2015 07:11:35 +0000
(15:11 +0800)
committer
Chris Mason
<clm@fb.com>
Thu, 22 Jan 2015 02:06:48 +0000
(18:06 -0800)
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 <zhaolei@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c
patch
|
blob
|
history
diff --cc
fs/btrfs/scrub.c
Simple merge