diff options
author | Oleg Nesterov <oleg@redhat.com> | 2011-03-23 16:43:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-23 19:46:58 -0700 |
commit | 52e9fc76d0d4b1e8adeee736172c6c23180059b2 (patch) | |
tree | 61fd430bd5848fc1598373675f8f6810e4af08b4 /fs/proc/inode.c | |
parent | 4308eebbeb2026827d4492ce8c23d99f7f144a82 (diff) | |
download | linux-stable-52e9fc76d0d4b1e8adeee736172c6c23180059b2.tar.gz linux-stable-52e9fc76d0d4b1e8adeee736172c6c23180059b2.tar.bz2 linux-stable-52e9fc76d0d4b1e8adeee736172c6c23180059b2.zip |
procfs: kill the global proc_mnt variable
After the previous cleanup in proc_get_sb() the global proc_mnt has no
reasons to exists, kill it.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Serge E. Hallyn <serge@hallyn.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/inode.c')
-rw-r--r-- | fs/proc/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index d6a7ca1fdac5..d15aa1b1cc8f 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -46,8 +46,6 @@ static void proc_evict_inode(struct inode *inode) } } -struct vfsmount *proc_mnt; - static struct kmem_cache * proc_inode_cachep; static struct inode *proc_alloc_inode(struct super_block *sb) |