X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fatm%2Fproc.c;h=739866bfe9e9d6992c05e64227964db56dcb3968;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=4041054e528252442b672830f710604d9a91b4c8;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/net/atm/proc.c b/net/atm/proc.c index 4041054e5..739866bfe 100644 --- a/net/atm/proc.c +++ b/net/atm/proc.c @@ -8,7 +8,6 @@ * the reader. */ -#include #include /* for EXPORT_SYMBOL */ #include #include @@ -394,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 { @@ -508,7 +507,7 @@ err_out: goto out; } -void __exit atm_proc_exit(void) +void atm_proc_exit(void) { atm_proc_dirs_remove(); }