diff options
author | Omar Sandoval <osandov@osandov.com> | 2015-03-16 07:33:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:29:45 -0400 |
commit | 22c6186ecea0be9eff1c399298ad36e94a59995f (patch) | |
tree | fffc295f7423e9c8f08dcb014d2b76ed546eb215 /fs/ocfs2 | |
parent | 6f67376318abea58589ebe6d69dffeabb6f6c26a (diff) |
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/ocfs2')
-rw-r--r-- | fs/ocfs2/aops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index 0ee9474cca46..28b5ad81bbec 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c | |||
@@ -818,9 +818,7 @@ out: | |||
818 | return ret; | 818 | return ret; |
819 | } | 819 | } |
820 | 820 | ||
821 | static ssize_t ocfs2_direct_IO(int rw, | 821 | static ssize_t ocfs2_direct_IO(struct kiocb *iocb, struct iov_iter *iter, |
822 | struct kiocb *iocb, | ||
823 | struct iov_iter *iter, | ||
824 | loff_t offset) | 822 | loff_t offset) |
825 | { | 823 | { |
826 | struct file *file = iocb->ki_filp; | 824 | struct file *file = iocb->ki_filp; |