diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-08-28 16:13:21 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-08-28 09:25:29 -0700 |
commit | 922cedbd00b68e506eb6f37cbe07cdf399a37b27 (patch) | |
tree | e3d393daa0d55444e02e8abe9393c37295479a02 | |
parent | c2e69583a4787b252f6be9a9daea4662eebc26f8 (diff) | |
download | op-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.c | 2 |
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; } |