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/9p | |
| 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/9p')
| -rw-r--r-- | fs/9p/vfs_addr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/9p/vfs_addr.c b/fs/9p/vfs_addr.c index dd5543b1d183..be35d05a4d0e 100644 --- a/fs/9p/vfs_addr.c +++ b/fs/9p/vfs_addr.c | |||
| @@ -230,7 +230,6 @@ static int v9fs_launder_page(struct page *page) | |||
| 230 | 230 | ||
| 231 | /** | 231 | /** |
| 232 | * v9fs_direct_IO - 9P address space operation for direct I/O | 232 | * v9fs_direct_IO - 9P address space operation for direct I/O |
| 233 | * @rw: direction (read or write) | ||
| 234 | * @iocb: target I/O control block | 233 | * @iocb: target I/O control block |
| 235 | * @iov: array of vectors that define I/O buffer | 234 | * @iov: array of vectors that define I/O buffer |
| 236 | * @pos: offset in file to begin the operation | 235 | * @pos: offset in file to begin the operation |
| @@ -248,7 +247,7 @@ static int v9fs_launder_page(struct page *page) | |||
| 248 | * | 247 | * |
| 249 | */ | 248 | */ |
| 250 | static ssize_t | 249 | static ssize_t |
| 251 | v9fs_direct_IO(int rw, struct kiocb *iocb, struct iov_iter *iter, loff_t pos) | 250 | v9fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t pos) |
| 252 | { | 251 | { |
| 253 | struct file *file = iocb->ki_filp; | 252 | struct file *file = iocb->ki_filp; |
| 254 | ssize_t n; | 253 | ssize_t n; |
