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/ceph | |
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/ceph')
-rw-r--r-- | fs/ceph/addr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index fd5599d32362..155ab9c0246b 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c | |||
@@ -1198,8 +1198,7 @@ static int ceph_write_end(struct file *file, struct address_space *mapping, | |||
1198 | * intercept O_DIRECT reads and writes early, this function should | 1198 | * intercept O_DIRECT reads and writes early, this function should |
1199 | * never get called. | 1199 | * never get called. |
1200 | */ | 1200 | */ |
1201 | static ssize_t ceph_direct_io(int rw, struct kiocb *iocb, | 1201 | static ssize_t ceph_direct_io(struct kiocb *iocb, struct iov_iter *iter, |
1202 | struct iov_iter *iter, | ||
1203 | loff_t pos) | 1202 | loff_t pos) |
1204 | { | 1203 | { |
1205 | WARN_ON(1); | 1204 | WARN_ON(1); |