summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/main.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2008-01-11 13:31:12 -0600
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 08:18:44 +0000
commit598278bd4808ed81b0e6fa445458a7d549f72a32 (patch)
tree92a49c8fc86b2d87e853cc5a5c5407d1c8d6ae7e /fs/gfs2/main.c
parent6dbd822487d0a9f14432cb4680415b80656b63a2 (diff)
downloadop-kernel-dev-598278bd4808ed81b0e6fa445458a7d549f72a32.zip
op-kernel-dev-598278bd4808ed81b0e6fa445458a7d549f72a32.tar.gz
[GFS2] Remove unneeded i_spin
This patch removes a vestigial variable "i_spin" from the gfs2_inode structure. This not only saves us memory (>300000 of these in memory for the oom test) it also saves us time because we don't have to spend time initializing it (i.e. slightly better performance). Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/main.c')
-rw-r--r--fs/gfs2/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c
index 88686fc..9c7765c 100644
--- a/fs/gfs2/main.c
+++ b/fs/gfs2/main.c
@@ -29,7 +29,6 @@ static void gfs2_init_inode_once(struct kmem_cache *cachep, void *foo)
struct gfs2_inode *ip = foo;
inode_init_once(&ip->i_inode);
- spin_lock_init(&ip->i_spin);
init_rwsem(&ip->i_rw_mutex);
ip->i_alloc = NULL;
}
OpenPOWER on IntegriCloud