aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@osandov.com>2015-03-16 07:33:50 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-11 22:29:44 -0400
commit17f8c842d24ac054e4212c82b5bd6ae455a334f3 (patch)
treedb8e5831159db867f34280200f81d4eadbec74a4 /fs/xfs
parentbd8e0ff956456ad9071dbb6c2ed7d33bd22fc216 (diff)
Remove rw from {,__,do_}blockdev_direct_IO()
Most filesystems call through to these at some point, so we'll start here. Signed-off-by: Omar Sandoval <osandov@osandov.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_aops.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
index 4f8cdc59bc38..5ca504c66e85 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -1504,14 +1504,13 @@ xfs_vm_direct_IO(
1504 struct block_device *bdev = xfs_find_bdev_for_inode(inode); 1504 struct block_device *bdev = xfs_find_bdev_for_inode(inode);
1505 1505
1506 if (rw & WRITE) { 1506 if (rw & WRITE) {
1507 return __blockdev_direct_IO(rw, iocb, inode, bdev, iter, 1507 return __blockdev_direct_IO(iocb, inode, bdev, iter, offset,
1508 offset, xfs_get_blocks_direct, 1508 xfs_get_blocks_direct,
1509 xfs_end_io_direct_write, NULL, 1509 xfs_end_io_direct_write, NULL,
1510 DIO_ASYNC_EXTEND); 1510 DIO_ASYNC_EXTEND);
1511 } 1511 }
1512 return __blockdev_direct_IO(rw, iocb, inode, bdev, iter, 1512 return __blockdev_direct_IO(iocb, inode, bdev, iter, offset,
1513 offset, xfs_get_blocks_direct, 1513 xfs_get_blocks_direct, NULL, NULL, 0);
1514 NULL, NULL, 0);
1515} 1514}
1516 1515
1517/* 1516/*