aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/inode.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2011-03-23 16:43:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 19:46:58 -0700
commit52e9fc76d0d4b1e8adeee736172c6c23180059b2 (patch)
tree61fd430bd5848fc1598373675f8f6810e4af08b4 /fs/proc/inode.c
parent4308eebbeb2026827d4492ce8c23d99f7f144a82 (diff)
downloadkernel_samsung_smdk4412-52e9fc76d0d4b1e8adeee736172c6c23180059b2.zip
kernel_samsung_smdk4412-52e9fc76d0d4b1e8adeee736172c6c23180059b2.tar.gz
kernel_samsung_smdk4412-52e9fc76d0d4b1e8adeee736172c6c23180059b2.tar.bz2
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c
index d6a7ca1..d15aa1b 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)