Commit 1061fd48 authored by youngjun yoo's avatar youngjun yoo Committed by Jaegeuk Kim

fs: f2fs: insert space around that ':' and ', '

clean up checkpatch error:
ERROR: space required after that ':'
ERROR: space required after that ','
Signed-off-by: default avataryoungjun yoo <youngjun.willow@gmail.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent f11e98bd
...@@ -1480,7 +1480,7 @@ static int expand_inode_data(struct inode *inode, loff_t offset, ...@@ -1480,7 +1480,7 @@ static int expand_inode_data(struct inode *inode, loff_t offset,
last_off = map.m_lblk + map.m_len - 1; last_off = map.m_lblk + map.m_len - 1;
/* update new size to the failed position */ /* update new size to the failed position */
new_size = (last_off == pg_end) ? offset + len: new_size = (last_off == pg_end) ? offset + len :
(loff_t)(last_off + 1) << PAGE_SHIFT; (loff_t)(last_off + 1) << PAGE_SHIFT;
} else { } else {
new_size = ((loff_t)pg_end << PAGE_SHIFT) + off_end; 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,7 +2132,7 @@ static int f2fs_defragment_range(struct f2fs_sb_info *sbi,
struct inode *inode = file_inode(filp); struct inode *inode = file_inode(filp);
struct f2fs_map_blocks map = { .m_next_extent = NULL, struct f2fs_map_blocks map = { .m_next_extent = NULL,
.m_seg_type = NO_CHECK_TYPE }; .m_seg_type = NO_CHECK_TYPE };
struct extent_info ei = {0,0,0}; struct extent_info ei = {0, 0, 0};
pgoff_t pg_start, pg_end, next_pgofs; pgoff_t pg_start, pg_end, next_pgofs;
unsigned int blk_per_seg = sbi->blocks_per_seg; unsigned int blk_per_seg = sbi->blocks_per_seg;
unsigned int total = 0, sec_num; unsigned int total = 0, sec_num;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment