Remove rw from {,__,do_}blockdev_direct_IO()
[firefly-linux-kernel-4.4.55.git] / fs / hfs / inode.c
index 9337065bcc6761280e5abb7b8078811172e3a76b..e92d175d1fd7ce4aa133d5816e3b208daa4c300d 100644 (file)
@@ -133,7 +133,7 @@ static ssize_t hfs_direct_IO(int rw, struct kiocb *iocb,
        size_t count = iov_iter_count(iter);
        ssize_t ret;
 
-       ret = blockdev_direct_IO(rw, iocb, inode, iter, offset, hfs_get_block);
+       ret = blockdev_direct_IO(iocb, inode, iter, offset, hfs_get_block);
 
        /*
         * In case of error extending write may have instantiated a few