* [patch] f2fs: simplify by using a literal
@ 2014-08-28 13:13 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2014-08-28 13:13 UTC (permalink / raw)
To: Jaegeuk Kim; +Cc: kernel-janitors, linux-f2fs-devel
We can make the code a bit simpler because we know that "!retry" is
zero.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
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;
}
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-28 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-28 13:13 [patch] f2fs: simplify by using a literal Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).