summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 02:37:48 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:28:50 -0800
commitb3d7ae5f47a58a9f7b152deeaf7daa1fc558a8f1 (patch)
tree9677e41e78c70fda15834383ce11d856d927c2e9
parentad9a824e004067a3d888567a991603f1ac36efb2 (diff)
downloadlinux-3.10-b3d7ae5f47a58a9f7b152deeaf7daa1fc558a8f1.tar.gz
linux-3.10-b3d7ae5f47a58a9f7b152deeaf7daa1fc558a8f1.tar.bz2
linux-3.10-b3d7ae5f47a58a9f7b152deeaf7daa1fc558a8f1.zip
[PATCH] struct path: convert zorro
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>
-rw-r--r--drivers/zorro/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/zorro/proc.c b/drivers/zorro/proc.c
index 7aa2d3de6d3..60b05bc1564 100644
--- a/drivers/zorro/proc.c
+++ b/drivers/zorro/proc.c
@@ -47,7 +47,7 @@ proc_bus_zorro_lseek(struct file *file, loff_t off, int whence)
static ssize_t
proc_bus_zorro_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
{
- struct inode *ino = file->f_dentry->d_inode;
+ struct inode *ino = file->f_path.dentry->d_inode;
struct proc_dir_entry *dp = PDE(ino);
struct zorro_dev *z = dp->data;
struct ConfigDev cd;