]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/s390/hypfs/hypfs_dbfs.c
new helper: file_inode(file)
[mirror_ubuntu-artful-kernel.git] / arch / s390 / hypfs / hypfs_dbfs.c
index 13e76dabbe8bd7d91df2182a6b83372e165368c4..9fd4a40c67521296cbbc22d5da23340bc6910284 100644 (file)
@@ -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);