diff options
author | David Howells <dhowells@redhat.com> | 2013-04-12 18:03:36 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-01 17:29:47 -0400 |
commit | c30480b92cf497aa3b463367a82f1c2fdc5c46e9 (patch) | |
tree | be6dea0c5a45bd60a03ae99efdda0eb365db884a /fs/proc/proc_devtree.c | |
parent | a8ca16ea7b0abb0a7e49492d1123b715f0ec62e8 (diff) | |
download | kernel_goldelico_gta04-c30480b92cf497aa3b463367a82f1c2fdc5c46e9.zip kernel_goldelico_gta04-c30480b92cf497aa3b463367a82f1c2fdc5c46e9.tar.gz kernel_goldelico_gta04-c30480b92cf497aa3b463367a82f1c2fdc5c46e9.tar.bz2 |
proc: Make the PROC_I() and PDE() macros internal to procfs
Make the PROC_I() and PDE() macros internal to procfs. This means making
PDE_DATA() out of line. This could be made more optimal by storing
PDE()->data into inode->i_private.
Also provide a __PDE_DATA() that is inline and internal to procfs.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/proc_devtree.c')
-rw-r--r-- | fs/proc/proc_devtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index e0043c7..505afc9 100644 --- a/fs/proc/proc_devtree.c +++ b/fs/proc/proc_devtree.c @@ -41,7 +41,7 @@ static int property_proc_show(struct seq_file *m, void *v) static int property_proc_open(struct inode *inode, struct file *file) { - return single_open(file, property_proc_show, PDE_DATA(inode)); + return single_open(file, property_proc_show, __PDE_DATA(inode)); } static const struct file_operations property_proc_fops = { |