]> git.baikalelectronics.ru Git - kernel.git/commit
procfs: Don't cache a pid in the root inode.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 10 Jul 2010 22:23:34 +0000 (15:23 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 19 Nov 2012 11:09:35 +0000 (03:09 -0800)
commit0a514a91f7d249d5e402d51fc5015fe8bd4651c9
treef7328e9b5aadaae1c6d4886147249d38b35de277
parentc74563828b948462c0fbdebf4aec2ff92ac98a46
procfs: Don't cache a pid in the root inode.

Now that we have s_fs_info pointing to our pid namespace
the original reason for the proc root inode having a struct
pid is gone.

Caching a pid in the root inode has led to some complicated
code.  Now that we don't need the struct pid, just remove it.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/proc/base.c
fs/proc/root.c