]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commitc30480b92cf497aa3b463367a82f1c2fdc5c46e9
treebe6dea0c5a45bd60a03ae99efdda0eb365db884a
parenta8ca16ea7b0abb0a7e49492d1123b715f0ec62e8
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>
fs/proc/generic.c
fs/proc/internal.h
fs/proc/proc_devtree.c
include/linux/proc_fs.h