diff options
Diffstat (limited to 'arch/s390/hypfs/hypfs_dbfs.c')
| -rw-r--r-- | arch/s390/hypfs/hypfs_dbfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/hypfs/hypfs_dbfs.c b/arch/s390/hypfs/hypfs_dbfs.c index 13e76dabbe8b..9fd4a40c6752 100644 --- 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, | |||
| 54 | if (*ppos != 0) | 54 | if (*ppos != 0) |
| 55 | return 0; | 55 | return 0; |
| 56 | 56 | ||
| 57 | df = file->f_path.dentry->d_inode->i_private; | 57 | df = file_inode(file)->i_private; |
| 58 | mutex_lock(&df->lock); | 58 | mutex_lock(&df->lock); |
| 59 | if (!df->data) { | 59 | if (!df->data) { |
| 60 | data = hypfs_dbfs_data_alloc(df); | 60 | data = hypfs_dbfs_data_alloc(df); |
