projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
file_inode(f)->i_mapping is f->f_mapping
[cascardo/linux.git]
/
fs
/
hfs
/
inode.c
diff --git
a/fs/hfs/inode.c
b/fs/hfs/inode.c
index
8eed66a
..
02a3845
100644
(file)
--- 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;