diff options
author | Jack Qiu <jack.qiu@huawei.com> | 2020-07-24 11:55:28 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-07-26 18:15:40 +0300 |
commit | a87aff1d491f6d824d9cc53303544361d7eaae75 (patch) | |
tree | be04ad1a65e9bd51ff50b2fb1bd5ba1fd48ee87f /fs/f2fs/data.c | |
parent | 99c787cfd2bd04926f1f553b30bd7dcea2caaba1 (diff) | |
download | linux-a87aff1d491f6d824d9cc53303544361d7eaae75.tar.xz |
f2fs: space related cleanup
Just for code style, no logic change
1. delete useless space
2. change spaces into tab
Signed-off-by: Jack Qiu <jack.qiu@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 44645f4f914b..3b8409ce24f2 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -86,7 +86,7 @@ static bool __is_cp_guaranteed(struct page *page) sbi = F2FS_I_SB(inode); if (inode->i_ino == F2FS_META_INO(sbi) || - inode->i_ino == F2FS_NODE_INO(sbi) || + inode->i_ino == F2FS_NODE_INO(sbi) || S_ISDIR(inode->i_mode) || (S_ISREG(inode->i_mode) && (f2fs_is_atomic_file(inode) || IS_NOQUOTA(inode))) || @@ -1146,7 +1146,7 @@ int f2fs_reserve_block(struct dnode_of_data *dn, pgoff_t index) int f2fs_get_block(struct dnode_of_data *dn, pgoff_t index) { - struct extent_info ei = {0,0,0}; + struct extent_info ei = {0, 0, 0}; struct inode *inode = dn->inode; if (f2fs_lookup_extent_cache(inode, index, &ei)) { |