From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:48 +0000 (-0800) Subject: [PATCH] struct path: convert zorro X-Git-Tag: v2.6.20-rc1~34^2~263 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b3d7ae5f47a58a9f7b152deeaf7daa1fc558a8f1;p=linux-2.6-omap-h63xx.git [PATCH] struct path: convert zorro Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;