aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2007-10-11 03:43:56 -0400
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-02-07 00:47:45 -0500
commit007c61c68640ea17c036785b698d05da67b4365e (patch)
treed4d4bc3d9268d174f42f45dc67844905f0e5933d /fs/xfs/xfs_log.c
parent36e41eebdafc8b5fabdf66f59d0d43b0b60f0fdb (diff)
[XFS] Remove spin.h
remove spinlock init abstraction macro in spin.h, remove the callers, and remove the file. Move no-op spinlock_destroy to xfs_linux.h Cleanup spinlock locals in xfs_mount.c SGI-PV: 970382 SGI-Modid: xfs-linux-melb:xfs-kern:29751a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Donald Douwsma <donaldd@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index f1f1f36876e4..615638201284 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -1189,8 +1189,8 @@ xlog_alloc_log(xfs_mount_t *mp,
1189 ASSERT(XFS_BUF_VALUSEMA(bp) <= 0); 1189 ASSERT(XFS_BUF_VALUSEMA(bp) <= 0);
1190 log->l_xbuf = bp; 1190 log->l_xbuf = bp;
1191 1191
1192 spinlock_init(&log->l_icloglock, "iclog"); 1192 spin_lock_init(&log->l_icloglock);
1193 spinlock_init(&log->l_grant_lock, "grhead_iclog"); 1193 spin_lock_init(&log->l_grant_lock);
1194 initnsema(&log->l_flushsema, 0, "ic-flush"); 1194 initnsema(&log->l_flushsema, 0, "ic-flush");
1195 xlog_state_ticket_alloc(log); /* wait until after icloglock inited */ 1195 xlog_state_ticket_alloc(log); /* wait until after icloglock inited */
1196 1196