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/udf | |
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/udf')
-rw-r--r-- | fs/udf/file.c | 3 | ||||
-rw-r--r-- | fs/udf/inode.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/fs/udf/file.c b/fs/udf/file.c index 74050bff64f4..78d42548b260 100644 --- a/fs/udf/file.c +++ b/fs/udf/file.c | |||
@@ -100,8 +100,7 @@ static int udf_adinicb_write_begin(struct file *file, | |||
100 | return 0; | 100 | return 0; |
101 | } | 101 | } |
102 | 102 | ||
103 | static ssize_t udf_adinicb_direct_IO(int rw, struct kiocb *iocb, | 103 | static ssize_t udf_adinicb_direct_IO(struct kiocb *iocb, struct iov_iter *iter, |
104 | struct iov_iter *iter, | ||
105 | loff_t offset) | 104 | loff_t offset) |
106 | { | 105 | { |
107 | /* Fallback to buffered I/O. */ | 106 | /* Fallback to buffered I/O. */ |
diff --git a/fs/udf/inode.c b/fs/udf/inode.c index a685aea93068..4f178c83b04f 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c | |||
@@ -215,8 +215,7 @@ static int udf_write_begin(struct file *file, struct address_space *mapping, | |||
215 | return ret; | 215 | return ret; |
216 | } | 216 | } |
217 | 217 | ||
218 | static ssize_t udf_direct_IO(int rw, struct kiocb *iocb, | 218 | static ssize_t udf_direct_IO(struct kiocb *iocb, struct iov_iter *iter, |
219 | struct iov_iter *iter, | ||
220 | loff_t offset) | 219 | loff_t offset) |
221 | { | 220 | { |
222 | struct file *file = iocb->ki_filp; | 221 | struct file *file = iocb->ki_filp; |