[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>
This commit is contained in:

committed by
Linus Torvalds

parent
d20343e740
commit
7fa95f726a
@@ -121,7 +121,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
||||
__u8 ireg = 0;
|
||||
int error = 0;
|
||||
|
||||
if (D7S_MINOR != iminor(file->f_dentry->d_inode))
|
||||
if (D7S_MINOR != iminor(file->f_path.dentry->d_inode))
|
||||
return -ENODEV;
|
||||
|
||||
lock_kernel();
|
||||
|
Reference in New Issue
Block a user