diff options
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 892e092afe9a..ee159edb6b88 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -535,7 +535,7 @@ static int do_ioctl(struct file *f, unsigned cmd, unsigned long arg) | |||
535 | { | 535 | { |
536 | int ret; | 536 | int ret; |
537 | lock_kernel(); | 537 | lock_kernel(); |
538 | ret = cciss_ioctl(f->f_dentry->d_inode, f, cmd, arg); | 538 | ret = cciss_ioctl(f->f_path.dentry->d_inode, f, cmd, arg); |
539 | unlock_kernel(); | 539 | unlock_kernel(); |
540 | return ret; | 540 | return ret; |
541 | } | 541 | } |