summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-08-28 16:13:21 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2014-08-28 09:25:29 -0700
commit922cedbd00b68e506eb6f37cbe07cdf399a37b27 (patch)
treee3d393daa0d55444e02e8abe9393c37295479a02
parentc2e69583a4787b252f6be9a9daea4662eebc26f8 (diff)
downloadop-kernel-dev-922cedbd00b68e506eb6f37cbe07cdf399a37b27.zip
op-kernel-dev-922cedbd00b68e506eb6f37cbe07cdf399a37b27.tar.gz
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 0f61f5a..41bdf51 100644
--- 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;
}
OpenPOWER on IntegriCloud