Remove rw from {,__,do_}blockdev_direct_IO()
[deliverable/linux.git] / fs / block_dev.c
index b5e87896f517d17aea743eec62cdfeada14db203..bc23afd35fdba7f7ca3752dbaf4a53a7dbefd412 100644 (file)
@@ -152,9 +152,8 @@ blkdev_direct_IO(int rw, struct kiocb *iocb, struct iov_iter *iter,
        struct file *file = iocb->ki_filp;
        struct inode *inode = file->f_mapping->host;
 
-       return __blockdev_direct_IO(rw, iocb, inode, I_BDEV(inode), iter,
-                                   offset, blkdev_get_block,
-                                   NULL, NULL, 0);
+       return __blockdev_direct_IO(iocb, inode, I_BDEV(inode), iter, offset,
+                                   blkdev_get_block, NULL, NULL, 0);
 }
 
 int __sync_blockdev(struct block_device *bdev, int wait)
This page took 0.058511 seconds and 5 git commands to generate.