mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
c2e69583a4
commit
922cedbd00
|
@ -1133,7 +1133,7 @@ static int f2fs_fill_super(struct super_block *sb, void *data, int silent)
|
|||
|
||||
/* give only one another chance */
|
||||
if (retry) {
|
||||
retry = !retry;
|
||||
retry = 0;
|
||||
shrink_dcache_sb(sb);
|
||||
goto try_onemore;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue