aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dasd_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/block/dasd_ioctl.c')
-rw-r--r--drivers/s390/block/dasd_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_ioctl.c b/drivers/s390/block/dasd_ioctl.c
index 8fed3603e9ea..758cfb542865 100644
--- a/drivers/s390/block/dasd_ioctl.c
+++ b/drivers/s390/block/dasd_ioctl.c
@@ -430,7 +430,7 @@ dasd_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
430 int rval; 430 int rval;
431 431
432 lock_kernel(); 432 lock_kernel();
433 rval = dasd_ioctl(filp->f_dentry->d_inode, filp, cmd, arg); 433 rval = dasd_ioctl(filp->f_path.dentry->d_inode, filp, cmd, arg);
434 unlock_kernel(); 434 unlock_kernel();
435 435
436 return (rval == -EINVAL) ? -ENOIOCTLCMD : rval; 436 return (rval == -EINVAL) ? -ENOIOCTLCMD : rval;