projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1aa12
)
f2fs: fix wrong condition for unlikely
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 25 Jul 2014 14:41:43 +0000
(07:41 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 30 Jul 2014 21:13:31 +0000
(14:13 -0700)
This patch fixes the wrongly used unlikely condition.
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/checkpoint.c
b/fs/f2fs/checkpoint.c
index 430163d8c806a9d0ceb99a7b8e8058ef9f05bcff..26b94bbc826ce112c5b0ba92915ed812de5b2216 100644
(file)
--- a/
fs/f2fs/checkpoint.c
+++ b/
fs/f2fs/checkpoint.c
@@
-933,7
+933,7
@@
static void do_checkpoint(struct f2fs_sb_info *sbi, bool is_umount)
/* Here, we only have one bio having CP pack */
sync_meta_pages(sbi, META_FLUSH, LONG_MAX);
- if (
unlikely(!is_set_ckpt_flags(ckpt, CP_ERROR_FLAG)
)) {
+ if (
!is_set_ckpt_flags(ckpt, CP_ERROR_FLAG
)) {
clear_prefree_segments(sbi);
release_dirty_inode(sbi);
F2FS_RESET_SB_DIRT(sbi);