diff options
Diffstat (limited to 'fs/ext2/inode.c')
-rw-r--r-- | fs/ext2/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 3cbeb1b63acf..14e8d1752685 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c | |||
@@ -861,8 +861,8 @@ ext2_direct_IO(int rw, struct kiocb *iocb, struct iov_iter *iter, | |||
861 | ssize_t ret; | 861 | ssize_t ret; |
862 | 862 | ||
863 | if (IS_DAX(inode)) | 863 | if (IS_DAX(inode)) |
864 | ret = dax_do_io(rw, iocb, inode, iter, offset, ext2_get_block, | 864 | ret = dax_do_io(iocb, inode, iter, offset, ext2_get_block, NULL, |
865 | NULL, DIO_LOCKING); | 865 | DIO_LOCKING); |
866 | else | 866 | else |
867 | ret = blockdev_direct_IO(iocb, inode, iter, offset, | 867 | ret = blockdev_direct_IO(iocb, inode, iter, offset, |
868 | ext2_get_block); | 868 | ext2_get_block); |