From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: [patch] f2fs: cleanup a confusing indent Date: Thu, 14 May 2015 11:52:28 +0300 Message-ID: <20150514085228.GA11265@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline Sender: kernel-janitors-owner@vger.kernel.org To: Jaegeuk Kim Cc: Changman Lee , linux-f2fs-devel@lists.sourceforge.net, kernel-janitors@vger.kernel.org List-Id: linux-f2fs-devel.lists.sourceforge.net 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 diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 17e89ba..741db3a 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -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) */