]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/hfs/inode.c
Merge branch 'work.const-qstr' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / fs / hfs / inode.c
index 6d6affd3ba5b61d3fc157661efcbe3e1d62415dc..c6a32415735bcb55e5187fdcd14159db1aa6ab9c 100644 (file)
@@ -128,7 +128,7 @@ static ssize_t hfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter)
 {
        struct file *file = iocb->ki_filp;
        struct address_space *mapping = file->f_mapping;
-       struct inode *inode = file_inode(file)->i_mapping->host;
+       struct inode *inode = mapping->host;
        size_t count = iov_iter_count(iter);
        ssize_t ret;