]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
f2fs: cleanup a confusing indent
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 May 2015 08:52:28 +0000 (11:52 +0300)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 1 Jun 2015 23:20:53 +0000 (16:20 -0700)
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 <dan.carpenter@oracle.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c

index fecf69900f94a23ebdba8fa6807aa18ed61045ae..190e0558de394c1d383129b3e194d56f2d505e0c 100644 (file)
@@ -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) */