summaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/cpwatchdog.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 11:37:36 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:28:49 +0100
commit7fa95f726aba6033d7baffcfda484c31b8cfe153 (patch)
tree924f8228c223b0f1c6365fdb541124f2b096f523 /drivers/sbus/char/cpwatchdog.c
parent[PATCH] struct path: convert s390 (diff)
downloadlinux-7fa95f726aba6033d7baffcfda484c31b8cfe153.tar.xz
linux-7fa95f726aba6033d7baffcfda484c31b8cfe153.zip
[PATCH] struct path: convert sbus
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/sbus/char/cpwatchdog.c')
-rw-r--r--drivers/sbus/char/cpwatchdog.c2
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,
case WIOCSTOP:
case WIOCGSTAT:
lock_kernel();
- rval = wd_ioctl(file->f_dentry->d_inode, file, cmd, arg);
+ rval = wd_ioctl(file->f_path.dentry->d_inode, file, cmd, arg);
unlock_kernel();
break;
/* everything else is handled by the generic compat layer */