diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-22 15:25:47 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-25 12:58:12 -0700 |
commit | 5302fb000def84100740a84d7f176c0e167b2141 (patch) | |
tree | 1b47305282e653860f64f849c0583fdc1d952c77 /fs/f2fs/data.c | |
parent | fe94793e555f650fab656649521fc38aaab4874e (diff) |
f2fs: clean up coding style and redundancy
This patch includes minor clean-ups.
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 87a458fb8afe..614154f9bb35 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1731,7 +1731,7 @@ static ssize_t f2fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) if (test_opt(F2FS_I_SB(inode), LFS)) return 0; - trace_f2fs_direct_IO_enter(inode, offset, count, iov_iter_rw(iter)); + trace_f2fs_direct_IO_enter(inode, offset, count, rw); down_read(&F2FS_I(inode)->dio_rwsem[rw]); err = blockdev_direct_IO(iocb, inode, iter, get_data_block_dio); @@ -1744,7 +1744,7 @@ static ssize_t f2fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) f2fs_write_failed(mapping, offset + count); } - trace_f2fs_direct_IO_exit(inode, offset, count, iov_iter_rw(iter), err); + trace_f2fs_direct_IO_exit(inode, offset, count, rw, err); return err; } |