diff options
author | Bob Peterson <rpeterso@redhat.com> | 2008-01-11 14:31:12 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-25 03:18:44 -0500 |
commit | 598278bd4808ed81b0e6fa445458a7d549f72a32 (patch) | |
tree | 92a49c8fc86b2d87e853cc5a5c5407d1c8d6ae7e /fs/gfs2/incore.h | |
parent | 6dbd822487d0a9f14432cb4680415b80656b63a2 (diff) |
[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/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 1 |
1 files changed, 0 insertions, 1 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 | ||