Skip to contentSkip to conversation

f2fs: simplify by using a literal

PATCH New Dan Carpenter 1 participant 1 message Aug 28, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 f2fs: simplify by using a literal

We can make the code a bit simpler because we know that "!retry" is zero.

fs/f2fs/super.c +1 -1
index 0f61f5a..41bdf51 100644
@@ -1133,7 +1133,7 @@ free_sbi:
 
 	/* give only one another chance */
 	if (retry) {
-		retry = !retry;
+		retry = 0;
 		shrink_dcache_sb(sb);
 		goto try_onemore;
 	}