aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf/inode.c')
-rw-r--r--fs/udf/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c
index 28984baf6194..236cd48184c2 100644
--- a/fs/udf/inode.c
+++ b/fs/udf/inode.c
@@ -226,8 +226,7 @@ static ssize_t udf_direct_IO(int rw, struct kiocb *iocb,
226 size_t count = iov_iter_count(iter); 226 size_t count = iov_iter_count(iter);
227 ssize_t ret; 227 ssize_t ret;
228 228
229 ret = blockdev_direct_IO(rw, iocb, inode, iter->iov, offset, iter->nr_segs, 229 ret = blockdev_direct_IO(rw, iocb, inode, iter, offset, udf_get_block);
230 udf_get_block);
231 if (unlikely(ret < 0 && (rw & WRITE))) 230 if (unlikely(ret < 0 && (rw & WRITE)))
232 udf_write_failed(mapping, offset + count); 231 udf_write_failed(mapping, offset + count);
233 return ret; 232 return ret;