summaryrefslogtreecommitdiff
path: root/fs/hfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-12-05 07:45:44 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-30 01:56:09 +0300
commit93c76a3d437ff71fabe1d190a9f00e92cec7a621 (patch)
treeb3b942110bc12bc5fae743c1fe4e27eecc2c8e3d /fs/hfs
parentaffda48410a5bbfd516def60bbc97f2683cd9f7b (diff)
downloadlinux-93c76a3d437ff71fabe1d190a9f00e92cec7a621.tar.xz
file_inode(f)->i_mapping is f->f_mapping
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfs')
-rw-r--r--fs/hfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 8eed66af5b82..02a3845363f7 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -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;