projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e6958
)
f2fs: simplify by using a literal
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 28 Aug 2014 13:13:21 +0000
(16:13 +0300)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 28 Aug 2014 16:25:29 +0000
(09:25 -0700)
We can make the code a bit simpler because we know that "!retry" is
zero.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index 0f61f5aa587c0ac8ae3b19a5c2e916bbd0f4e252..41bdf511003deb6978cf852203906840167f90b6 100644
(file)
--- a/
fs/f2fs/super.c
+++ b/
fs/f2fs/super.c
@@
-1133,7
+1133,7
@@
free_sbi:
/* give only one another chance */
if (retry) {
- retry =
!retry
;
+ retry =
0
;
shrink_dcache_sb(sb);
goto try_onemore;
}