From: Dan Carpenter Date: Thu, 14 May 2015 08:52:28 +0000 (+0300) Subject: f2fs: cleanup a confusing indent X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=912a83b5096eb4a5d8d95124d70585e0e861c564;p=linux-beck.git 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. Signed-off-by: Dan Carpenter Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index fecf69900f94..190e0558de39 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -569,8 +569,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) */