diff options
Diffstat (limited to 'fs/hfs')
-rw-r--r-- | fs/hfs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index dc69e8f31581..f5fb09ebc850 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c | |||
@@ -133,8 +133,7 @@ static ssize_t hfs_direct_IO(int rw, struct kiocb *iocb, | |||
133 | size_t count = iov_iter_count(iter); | 133 | size_t count = iov_iter_count(iter); |
134 | ssize_t ret; | 134 | ssize_t ret; |
135 | 135 | ||
136 | ret = blockdev_direct_IO(rw, iocb, inode, iter->iov, offset, | 136 | ret = blockdev_direct_IO(rw, iocb, inode, iter, offset, hfs_get_block); |
137 | iter->nr_segs, hfs_get_block); | ||
138 | 137 | ||
139 | /* | 138 | /* |
140 | * In case of error extending write may have instantiated a few | 139 | * In case of error extending write may have instantiated a few |