From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:13 +0000 (-0800) Subject: [PATCH] struct path: convert isapnp X-Git-Tag: v2.6.20-rc1~34^2~310 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b23463b9b94a00baf4cc3cf835c366cffff715c2;p=linux-2.6-omap-h63xx.git [PATCH] struct path: convert isapnp Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/pnp/isapnp/proc.c b/drivers/pnp/isapnp/proc.c index 958c11bedd0..d21f3c1e72f 100644 --- a/drivers/pnp/isapnp/proc.c +++ b/drivers/pnp/isapnp/proc.c @@ -56,7 +56,7 @@ static loff_t isapnp_proc_bus_lseek(struct file *file, loff_t off, int whence) static ssize_t isapnp_proc_bus_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 pnp_dev *dev = dp->data; int pos = *ppos;