X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fatm%2Fproc.c;h=739866bfe9e9d6992c05e64227964db56dcb3968;hb=refs%2Fheads%2Fvserver;hp=91fe5f53ff112377755054d16ff82cd599dd54a5;hpb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;p=linux-2.6.git diff --git a/net/atm/proc.c b/net/atm/proc.c index 91fe5f53f..739866bfe 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 {