diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:36:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:44 -0500 |
commit | 76a0f17429f5dd82186eec2ee2f37f5a5237d1a8 (patch) | |
tree | 444291bbd3ea34277f883848ce274588aa2409fc /net/atm | |
parent | 8ac0352bb20c5a8c051218c689d263b4591d50e1 (diff) |
[PATCH] struct path: convert atm
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/proc.c b/net/atm/proc.c index 91fe5f53ff11..739866bfe9e9 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, | |||
393 | if (count == 0) return 0; | 393 | if (count == 0) return 0; |
394 | page = get_zeroed_page(GFP_KERNEL); | 394 | page = get_zeroed_page(GFP_KERNEL); |
395 | if (!page) return -ENOMEM; | 395 | if (!page) return -ENOMEM; |
396 | dev = PDE(file->f_dentry->d_inode)->data; | 396 | dev = PDE(file->f_path.dentry->d_inode)->data; |
397 | if (!dev->ops->proc_read) | 397 | if (!dev->ops->proc_read) |
398 | length = -EINVAL; | 398 | length = -EINVAL; |
399 | else { | 399 | else { |