diff options
Diffstat (limited to 'drivers/sbus/char/cpwatchdog.c')
-rw-r--r-- | drivers/sbus/char/cpwatchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/cpwatchdog.c b/drivers/sbus/char/cpwatchdog.c index f5803ecb1999..ad1c7db96cb4 100644 --- a/drivers/sbus/char/cpwatchdog.c +++ b/drivers/sbus/char/cpwatchdog.c | |||
@@ -404,7 +404,7 @@ static long wd_compat_ioctl(struct file *file, unsigned int cmd, | |||
404 | case WIOCSTOP: | 404 | case WIOCSTOP: |
405 | case WIOCGSTAT: | 405 | case WIOCGSTAT: |
406 | lock_kernel(); | 406 | lock_kernel(); |
407 | rval = wd_ioctl(file->f_dentry->d_inode, file, cmd, arg); | 407 | rval = wd_ioctl(file->f_path.dentry->d_inode, file, cmd, arg); |
408 | unlock_kernel(); | 408 | unlock_kernel(); |
409 | break; | 409 | break; |
410 | /* everything else is handled by the generic compat layer */ | 410 | /* everything else is handled by the generic compat layer */ |