diff options
-rw-r--r-- | fs/gfs2/incore.h | 1 | ||||
-rw-r--r-- | fs/gfs2/main.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 4cdda1a3e12c..513aaf0dc0ab 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -267,7 +267,6 @@ struct gfs2_inode { | |||
267 | struct gfs2_alloc *i_alloc; | 267 | struct gfs2_alloc *i_alloc; |
268 | u64 i_last_rg_alloc; | 268 | u64 i_last_rg_alloc; |
269 | 269 | ||
270 | spinlock_t i_spin; | ||
271 | struct rw_semaphore i_rw_mutex; | 270 | struct rw_semaphore i_rw_mutex; |
272 | }; | 271 | }; |
273 | 272 | ||
diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c index 88686fcdfb1b..9c7765c12d62 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) | |||
29 | struct gfs2_inode *ip = foo; | 29 | struct gfs2_inode *ip = foo; |
30 | 30 | ||
31 | inode_init_once(&ip->i_inode); | 31 | inode_init_once(&ip->i_inode); |
32 | spin_lock_init(&ip->i_spin); | ||
33 | init_rwsem(&ip->i_rw_mutex); | 32 | init_rwsem(&ip->i_rw_mutex); |
34 | ip->i_alloc = NULL; | 33 | ip->i_alloc = NULL; |
35 | } | 34 | } |