]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7cb646a30d39f4612bd3bb66ed66290e71a38351
treec7743ed6aab1fe2026f20e6a1ddf708a16aa1c84
parent73f1bd521750bf53753843bb2062a1cb9e2aafaa
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