diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2007-10-11 03:41:21 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-07 00:46:48 -0500 |
commit | 703e1f0fd2edc2978bde3b4536e78b577318c090 (patch) | |
tree | cb7e227feb32d010f71512fdef3e8ece49e2f99c /fs/xfs/xfs_vfsops.c | |
parent | 64137e56d76a5c05aa4411e2f5d7121593dd9478 (diff) |
[XFS] Unwrap xfs_dabuf_global_lock
Un-obfuscate dabuf_global_lock, remove mutex_lock->spin_lock macros, call
spin_lock directly, remove extraneous cookie holdover from old xfs code,
and change lock type to spinlock_t.
SGI-PV: 970382
SGI-Modid: xfs-linux-melb:xfs-kern:29744a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index 57be2f7b034c..f90d95582047 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
@@ -67,7 +67,7 @@ xfs_init(void) | |||
67 | extern kmem_zone_t *xfs_buf_item_zone; | 67 | extern kmem_zone_t *xfs_buf_item_zone; |
68 | extern kmem_zone_t *xfs_dabuf_zone; | 68 | extern kmem_zone_t *xfs_dabuf_zone; |
69 | #ifdef XFS_DABUF_DEBUG | 69 | #ifdef XFS_DABUF_DEBUG |
70 | extern lock_t xfs_dabuf_global_lock; | 70 | extern spinlock_t xfs_dabuf_global_lock; |
71 | spinlock_init(&xfs_dabuf_global_lock, "xfsda"); | 71 | spinlock_init(&xfs_dabuf_global_lock, "xfsda"); |
72 | #endif | 72 | #endif |
73 | 73 | ||