diff options
author | Omar Sandoval <osandov@osandov.com> | 2015-03-16 04:33:53 -0700 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:29:45 -0400 |
commit | 22c6186ecea0be9eff1c399298ad36e94a59995f (patch) | |
tree | fffc295f7423e9c8f08dcb014d2b76ed546eb215 /fs/ext2 | |
parent | 6f67376318abea58589ebe6d69dffeabb6f6c26a (diff) | |
download | linux-22c6186ecea0be9eff1c399298ad36e94a59995f.tar.gz linux-22c6186ecea0be9eff1c399298ad36e94a59995f.tar.bz2 linux-22c6186ecea0be9eff1c399298ad36e94a59995f.zip |
direct_IO: remove rw from a_ops->direct_IO()
Now that no one is using rw, remove it completely.
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 685e514c57dd..e1abf75e994c 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@ -851,8 +851,7 @@ static sector_t ext2_bmap(struct address_space *mapping, sector_t block) } static ssize_t -ext2_direct_IO(int rw, struct kiocb *iocb, struct iov_iter *iter, - loff_t offset) +ext2_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t offset) { struct file *file = iocb->ki_filp; struct address_space *mapping = file->f_mapping; |