aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-08-28 09:13:21 -0400
committerJaegeuk Kim <jaegeuk@kernel.org>2014-08-28 12:25:29 -0400
commit922cedbd00b68e506eb6f37cbe07cdf399a37b27 (patch)
treee3d393daa0d55444e02e8abe9393c37295479a02
parentc2e69583a4787b252f6be9a9daea4662eebc26f8 (diff)
f2fs: simplify by using a literal
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>
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 0f61f5aa587c..41bdf511003d 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -1133,7 +1133,7 @@ free_sbi:
1133 1133
1134 /* give only one another chance */ 1134 /* give only one another chance */
1135 if (retry) { 1135 if (retry) {
1136 retry = !retry; 1136 retry = 0;
1137 shrink_dcache_sb(sb); 1137 shrink_dcache_sb(sb);
1138 goto try_onemore; 1138 goto try_onemore;
1139 } 1139 }