diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-04 23:45:44 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-29 18:56:09 -0400 |
commit | 93c76a3d437ff71fabe1d190a9f00e92cec7a621 (patch) | |
tree | b3b942110bc12bc5fae743c1fe4e27eecc2c8e3d /fs/ocfs2 | |
parent | affda48410a5bbfd516def60bbc97f2683cd9f7b (diff) | |
download | linux-93c76a3d437ff71fabe1d190a9f00e92cec7a621.tar.gz linux-93c76a3d437ff71fabe1d190a9f00e92cec7a621.tar.bz2 linux-93c76a3d437ff71fabe1d190a9f00e92cec7a621.zip |
file_inode(f)->i_mapping is f->f_mapping
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/aops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index c034edf3ef38..ab8e56c6f2e1 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c @@ -2426,7 +2426,7 @@ static int ocfs2_dio_end_io(struct kiocb *iocb, static ssize_t ocfs2_direct_IO(struct kiocb *iocb, struct iov_iter *iter) { struct file *file = iocb->ki_filp; - struct inode *inode = file_inode(file)->i_mapping->host; + struct inode *inode = file->f_mapping->host; struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); get_block_t *get_block; |