aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryoungjun yoo <youngjun.willow@gmail.com>2018-05-29 15:34:58 -0400
committerJaegeuk Kim <jaegeuk@kernel.org>2018-05-31 14:31:54 -0400
commit1061fd484bd442392c7bd491f7f154b1ce233173 (patch)
treef6347b8b424fcc2b0f4de27d99e9da5111040196
parentf11e98bdbe7d6eef674087e9a41b17cd5bfc2bd4 (diff)
fs: f2fs: insert space around that ':' and ', '
clean up checkpatch error: ERROR: space required after that ':' ERROR: space required after that ',' Signed-off-by: youngjun yoo <youngjun.willow@gmail.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fs/f2fs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 08c505314088..74c326442565 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -1480,7 +1480,7 @@ static int expand_inode_data(struct inode *inode, loff_t offset,
1480 last_off = map.m_lblk + map.m_len - 1; 1480 last_off = map.m_lblk + map.m_len - 1;
1481 1481
1482 /* update new size to the failed position */ 1482 /* update new size to the failed position */
1483 new_size = (last_off == pg_end) ? offset + len: 1483 new_size = (last_off == pg_end) ? offset + len :
1484 (loff_t)(last_off + 1) << PAGE_SHIFT; 1484 (loff_t)(last_off + 1) << PAGE_SHIFT;
1485 } else { 1485 } else {
1486 new_size = ((loff_t)pg_end << PAGE_SHIFT) + off_end; 1486 new_size = ((loff_t)pg_end << PAGE_SHIFT) + off_end;
@@ -2132,7 +2132,7 @@ static int f2fs_defragment_range(struct f2fs_sb_info *sbi,
2132 struct inode *inode = file_inode(filp); 2132 struct inode *inode = file_inode(filp);
2133 struct f2fs_map_blocks map = { .m_next_extent = NULL, 2133 struct f2fs_map_blocks map = { .m_next_extent = NULL,
2134 .m_seg_type = NO_CHECK_TYPE }; 2134 .m_seg_type = NO_CHECK_TYPE };
2135 struct extent_info ei = {0,0,0}; 2135 struct extent_info ei = {0, 0, 0};
2136 pgoff_t pg_start, pg_end, next_pgofs; 2136 pgoff_t pg_start, pg_end, next_pgofs;
2137 unsigned int blk_per_seg = sbi->blocks_per_seg; 2137 unsigned int blk_per_seg = sbi->blocks_per_seg;
2138 unsigned int total = 0, sec_num; 2138 unsigned int total = 0, sec_num;