summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
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 /fs/f2fs
parentc2e69583a4787b252f6be9a9daea4662eebc26f8 (diff)
downloadlinux-stable-922cedbd00b68e506eb6f37cbe07cdf399a37b27.tar.gz
linux-stable-922cedbd00b68e506eb6f37cbe07cdf399a37b27.tar.bz2
linux-stable-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/f2fs')
-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;
}