aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/fs3270.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/char/fs3270.c')
-rw-r--r--drivers/s390/char/fs3270.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/fs3270.c b/drivers/s390/char/fs3270.c
index ef205ddd31a4..0893d306ae80 100644
--- a/drivers/s390/char/fs3270.c
+++ b/drivers/s390/char/fs3270.c
@@ -419,9 +419,9 @@ fs3270_open(struct inode *inode, struct file *filp)
419 struct idal_buffer *ib; 419 struct idal_buffer *ib;
420 int minor, rc; 420 int minor, rc;
421 421
422 if (imajor(filp->f_dentry->d_inode) != IBM_FS3270_MAJOR) 422 if (imajor(filp->f_path.dentry->d_inode) != IBM_FS3270_MAJOR)
423 return -ENODEV; 423 return -ENODEV;
424 minor = iminor(filp->f_dentry->d_inode); 424 minor = iminor(filp->f_path.dentry->d_inode);
425 /* Check for minor 0 multiplexer. */ 425 /* Check for minor 0 multiplexer. */
426 if (minor == 0) { 426 if (minor == 0) {
427 struct tty_struct *tty; 427 struct tty_struct *tty;