diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2007-10-11 17:38:28 +1000 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-07 16:46:39 +1100 |
commit | 64137e56d76a5c05aa4411e2f5d7121593dd9478 (patch) | |
tree | 6bc104e0ec96051771e646d8e86c82f63b428fde /fs/xfs/xfs_ag.h | |
parent | 869b906078720b68711569b68de0acca6b73b675 (diff) | |
download | linux-rpi3-64137e56d76a5c05aa4411e2f5d7121593dd9478.tar.gz linux-rpi3-64137e56d76a5c05aa4411e2f5d7121593dd9478.tar.bz2 linux-rpi3-64137e56d76a5c05aa4411e2f5d7121593dd9478.zip |
[XFS] Unwrap pagb_lock.
Un-obfuscate pagb_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:29743a
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_ag.h')
-rw-r--r-- | fs/xfs/xfs_ag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ag.h b/fs/xfs/xfs_ag.h index 9381b0360c4b..61b292a9fb41 100644 --- a/fs/xfs/xfs_ag.h +++ b/fs/xfs/xfs_ag.h @@ -193,7 +193,7 @@ typedef struct xfs_perag xfs_agino_t pagi_count; /* number of allocated inodes */ int pagb_count; /* pagb slots in use */ #ifdef __KERNEL__ - lock_t pagb_lock; /* lock for pagb_list */ + spinlock_t pagb_lock; /* lock for pagb_list */ #endif xfs_perag_busy_t *pagb_list; /* unstable blocks */ atomic_t pagf_fstrms; /* # of filestreams active in this AG */ |