From: Josef Sipek Date: Fri, 8 Dec 2006 10:36:52 +0000 (-0800) Subject: [PATCH] struct path: convert atm X-Git-Tag: v2.6.20-rc1~34^2~338 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a0f17429f5dd82186eec2ee2f37f5a5237d1a8;p=linux-2.6 [PATCH] struct path: convert atm Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/net/atm/proc.c b/net/atm/proc.c index 91fe5f53ff..739866bfe9 100644 --- a/net/atm/proc.c +++ b/net/atm/proc.c @@ -393,7 +393,7 @@ static ssize_t proc_dev_atm_read(struct file *file, char __user *buf, if (count == 0) return 0; page = get_zeroed_page(GFP_KERNEL); if (!page) return -ENOMEM; - dev = PDE(file->f_dentry->d_inode)->data; + dev = PDE(file->f_path.dentry->d_inode)->data; if (!dev->ops->proc_read) length = -EINVAL; else {