From e6e80d4ffd490e15579ffef300936b05b1dc0b5f Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Fri, 12 Feb 2010 19:22:28 -0800 Subject: [PATCH] --- yaml --- r: 187095 b: refs/heads/master c: 0f4288ec6fcc1a47d1fa0241ec1c6dacd5a09e96 h: refs/heads/master i: 187093: 6208df33a545e7d5bf246987d04c423120fcca62 187091: 663d1886dd2a00d3f395ead66f25df772ff0caa0 187087: 2f7849b30cee836ea490272e00dfeff7edbb7ee8 v: v3 --- [refs] | 2 +- trunk/fs/sysfs/mount.c | 2 -- trunk/fs/sysfs/sysfs.h | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 25490abe0f0c..34f32c8fc9bf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fac2622bbad4d7e3a32c53e631e018b80ec631dc +refs/heads/master: 0f4288ec6fcc1a47d1fa0241ec1c6dacd5a09e96 diff --git a/trunk/fs/sysfs/mount.c b/trunk/fs/sysfs/mount.c index 89db07e489b0..0cb10884a2fc 100644 --- a/trunk/fs/sysfs/mount.c +++ b/trunk/fs/sysfs/mount.c @@ -23,7 +23,6 @@ static struct vfsmount *sysfs_mount; -struct super_block * sysfs_sb = NULL; struct kmem_cache *sysfs_dir_cachep; static const struct super_operations sysfs_ops = { @@ -50,7 +49,6 @@ static int sysfs_fill_super(struct super_block *sb, void *data, int silent) sb->s_magic = SYSFS_MAGIC; sb->s_op = &sysfs_ops; sb->s_time_gran = 1; - sysfs_sb = sb; /* get root inode, initialize and unlock it */ mutex_lock(&sysfs_mutex); diff --git a/trunk/fs/sysfs/sysfs.h b/trunk/fs/sysfs/sysfs.h index 7593d71d92f8..30f5a44fb5d3 100644 --- a/trunk/fs/sysfs/sysfs.h +++ b/trunk/fs/sysfs/sysfs.h @@ -115,7 +115,6 @@ struct sysfs_addrm_cxt { * mount.c */ extern struct sysfs_dirent sysfs_root; -extern struct super_block *sysfs_sb; extern struct kmem_cache *sysfs_dir_cachep; /*