proc: Generalize proc inode allocation
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 17 Jun 2011 20:33:20 +0000 (13:33 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 20 Nov 2012 12:19:19 +0000 (04:19 -0800)
commit33d6dce607573b5fd7a43168e0d91221b3ca532b
treec7743ed6aab1fe2026f20e6a1ddf708a16aa1c84
parent4f326c0064b20b78b8041f4d2f6fe188a1129f18
proc: Generalize proc inode allocation

Generalize the proc inode allocation so that it can be
used without having to having to create a proc_dir_entry.

This will allow namespace file descriptors to remain light
weight entitities but still have the same inode number
when the backing namespace is the same.

Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/proc/generic.c
include/linux/proc_fs.h