proc: Make the PROC_I() and PDE() macros internal to procfs
authorDavid Howells <dhowells@redhat.com>
Fri, 12 Apr 2013 17:03:36 +0000 (18:03 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 May 2013 21:29:47 +0000 (17:29 -0400)
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>

No differences found