diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2022-09-14 04:33:22 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-10-04 23:31:44 +0300 |
commit | 544b53dadc208278fd0796f2c22ea24a3fe16564 (patch) | |
tree | dc46d6bd2fbedd83b10c1ab455f64611307a7dc9 /fs/f2fs/file.c | |
parent | a834aa3ec95b0d1a465854b27016eec1af2f0e1f (diff) | |
download | linux-544b53dadc208278fd0796f2c22ea24a3fe16564.tar.xz |
f2fs: code clean and fix a type error
ERROR: code indent should use tabs where possible
ERROR: spaces required around that ':'
ERROR: incorrect tab
Found serveral code type errors when review the code and fix it.
There is no function change.
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
-rw-r--r-- | fs/f2fs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 5efe0e4a725a..4020f5e72a2c 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -4622,7 +4622,7 @@ static ssize_t f2fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) skip_write_trace: /* Do the actual write. */ ret = dio ? - f2fs_dio_write_iter(iocb, from, &may_need_sync): + f2fs_dio_write_iter(iocb, from, &may_need_sync) : f2fs_buffered_write_iter(iocb, from); if (trace_f2fs_datawrite_end_enabled()) |