f2fs: simplify by using a literal
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 28 Aug 2014 13:13:21 +0000 (16:13 +0300)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 Aug 2014 16:25:29 +0000 (09:25 -0700)
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>
fs/f2fs/super.c

index 0f61f5aa587c0ac8ae3b19a5c2e916bbd0f4e252..41bdf511003deb6978cf852203906840167f90b6 100644 (file)
@@ -1133,7 +1133,7 @@ free_sbi:
 
        /* give only one another chance */
        if (retry) {
-               retry = !retry;
+               retry = 0;
                shrink_dcache_sb(sb);
                goto try_onemore;
        }