summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-08-28 15:13:21 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2014-08-28 18:25:29 +0200
commit922cedbd00b68e506eb6f37cbe07cdf399a37b27 (patch)
treee3d393daa0d55444e02e8abe9393c37295479a02 /fs
parentf2fs: truncate stale block for inline_data (diff)
downloadlinux-922cedbd00b68e506eb6f37cbe07cdf399a37b27.tar.xz
linux-922cedbd00b68e506eb6f37cbe07cdf399a37b27.zip
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>
Diffstat (limited to 'fs')
-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:
/* give only one another chance */
if (retry) {
- retry = !retry;
+ retry = 0;
shrink_dcache_sb(sb);
goto try_onemore;
}