projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-block.git]
/
arch
/
s390
/
hypfs
/
hypfs_dbfs.c
diff --git
a/arch/s390/hypfs/hypfs_dbfs.c
b/arch/s390/hypfs/hypfs_dbfs.c
index 13e76dabbe8bd7d91df2182a6b83372e165368c4..9fd4a40c67521296cbbc22d5da23340bc6910284 100644
(file)
--- a/
arch/s390/hypfs/hypfs_dbfs.c
+++ b/
arch/s390/hypfs/hypfs_dbfs.c
@@
-54,7
+54,7
@@
static ssize_t dbfs_read(struct file *file, char __user *buf,
if (*ppos != 0)
return 0;
- df = file
->f_path.dentry->d_inode
->i_private;
+ df = file
_inode(file)
->i_private;
mutex_lock(&df->lock);
if (!df->data) {
data = hypfs_dbfs_data_alloc(df);