diff options
Diffstat (limited to 'fs/jfs/inode.c')
-rw-r--r-- | fs/jfs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c index 6cde5928693b..bd3df1ca3c9b 100644 --- a/fs/jfs/inode.c +++ b/fs/jfs/inode.c | |||
@@ -339,8 +339,7 @@ static ssize_t jfs_direct_IO(int rw, struct kiocb *iocb, | |||
339 | size_t count = iov_iter_count(iter); | 339 | size_t count = iov_iter_count(iter); |
340 | ssize_t ret; | 340 | ssize_t ret; |
341 | 341 | ||
342 | ret = blockdev_direct_IO(rw, iocb, inode, iter->iov, offset, | 342 | ret = blockdev_direct_IO(rw, iocb, inode, iter, offset, jfs_get_block); |
343 | iter->nr_segs, jfs_get_block); | ||
344 | 343 | ||
345 | /* | 344 | /* |
346 | * In case of error extending write may have instantiated a few | 345 | * In case of error extending write may have instantiated a few |