diff options
author | Omar Sandoval | 2015-03-16 12:33:50 +0100 |
---|---|---|
committer | Al Viro | 2015-04-12 04:29:44 +0200 |
commit | 17f8c842d24ac054e4212c82b5bd6ae455a334f3 (patch) | |
tree | db8e5831159db867f34280200f81d4eadbec74a4 /fs/f2fs/data.c | |
parent | new helper: iov_iter_rw() (diff) | |
download | kernel-qcow2-linux-17f8c842d24ac054e4212c82b5bd6ae455a334f3.tar.gz kernel-qcow2-linux-17f8c842d24ac054e4212c82b5bd6ae455a334f3.tar.xz kernel-qcow2-linux-17f8c842d24ac054e4212c82b5bd6ae455a334f3.zip |
Remove rw from {,__,do_}blockdev_direct_IO()
Most filesystems call through to these at some point, so we'll start
here.
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 497f8515d205..e16adebcb9b6 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1159,7 +1159,7 @@ static ssize_t f2fs_direct_IO(int rw, struct kiocb *iocb, if (rw & WRITE) __allocate_data_blocks(inode, offset, count); - err = blockdev_direct_IO(rw, iocb, inode, iter, offset, get_data_block); + err = blockdev_direct_IO(iocb, inode, iter, offset, get_data_block); if (err < 0 && (rw & WRITE)) f2fs_write_failed(mapping, offset + count); |