Skip to contentSkip to conversation

f2fs: cleanup a confusing indent

PATCH New Dan Carpenter 1 participant 1 message May 14, 2015

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

PATCH 1/1 f2fs: cleanup a confusing indent

The return was not indented far enough so it looked like it was supposed to go with the other if statement.

fs/f2fs/segment.c +2 -2
index 17e89ba..741db3a 100644
@@ -554,8 +554,8 @@ static void add_discard_addrs(struct f2fs_sb_info *sbi, struct cp_control *cpc)
 
 	if (!force) {
 		if (!test_opt(sbi, DISCARD) || !se->valid_blocks ||
-			SM_I(sbi)->nr_discards >= SM_I(sbi)->max_discards)
-		return;
+		    SM_I(sbi)->nr_discards >= SM_I(sbi)->max_discards)
+			return;
 	}
 
 	/* SIT_VBLOCK_MAP_SIZE should be multiple of sizeof(unsigned long) */