summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-05-14 11:52:28 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-06-01 16:20:53 -0700
commit912a83b5096eb4a5d8d95124d70585e0e861c564 (patch)
tree78e7d08f64e3f7a91ff092a46dad5fec2812cb33 /fs/f2fs
parent7beb428edaacef63d7a7adefa6d0bbb2db91484c (diff)
downloadop-kernel-dev-912a83b5096eb4a5d8d95124d70585e0e861c564.zip
op-kernel-dev-912a83b5096eb4a5d8d95124d70585e0e861c564.tar.gz
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 <dan.carpenter@oracle.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/segment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index fecf699..190e055 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) */
OpenPOWER on IntegriCloud