aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/qdio_debug.c')
-rw-r--r--drivers/s390/cio/qdio_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/qdio_debug.c b/drivers/s390/cio/qdio_debug.c
index e6e0d31c02ac..749b72739c4a 100644
--- a/drivers/s390/cio/qdio_debug.c
+++ b/drivers/s390/cio/qdio_debug.c
@@ -128,7 +128,7 @@ static int qstat_show(struct seq_file *m, void *v)
128static int qstat_seq_open(struct inode *inode, struct file *filp) 128static int qstat_seq_open(struct inode *inode, struct file *filp)
129{ 129{
130 return single_open(filp, qstat_show, 130 return single_open(filp, qstat_show,
131 filp->f_path.dentry->d_inode->i_private); 131 file_inode(filp)->i_private);
132} 132}
133 133
134static const struct file_operations debugfs_fops = { 134static const struct file_operations debugfs_fops = {
@@ -221,7 +221,7 @@ static ssize_t qperf_seq_write(struct file *file, const char __user *ubuf,
221static int qperf_seq_open(struct inode *inode, struct file *filp) 221static int qperf_seq_open(struct inode *inode, struct file *filp)
222{ 222{
223 return single_open(filp, qperf_show, 223 return single_open(filp, qperf_show,
224 filp->f_path.dentry->d_inode->i_private); 224 file_inode(filp)->i_private);
225} 225}
226 226
227static struct file_operations debugfs_perf_fops = { 227static struct file_operations debugfs_perf_fops = {