Skip to content

Commit

Permalink
f2fs: simplify by using a literal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Jaegeuk Kim committed Aug 28, 2014
1 parent c2e6958 commit 922cedb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/f2fs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 922cedb

Please sign in to comment.