diff options
author | David Chinner <david@fromorbit.com> | 2008-10-30 02:39:23 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 02:39:23 -0400 |
commit | c7e8f268278a292d3823b4352182fa7755a71410 (patch) | |
tree | f7316f830fdc7feedfd9ae486ac097e8f5df8dad /fs/xfs/xfs_mount.h | |
parent | 7b2e2a31f5c23b5f028af8c895137b4c512cc1c8 (diff) |
[XFS] Move the AIL lock into the struct xfs_ail
Bring the ail lock inside the struct xfs_ail. This means the AIL can be
entirely manipulated via the struct xfs_ail rather than needing both the
struct xfs_mount and the struct xfs_ail.
SGI-PV: 988143
SGI-Modid: xfs-linux-melb:xfs-kern:32350a
Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 287f90011ed5..d3b75257602a 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -228,7 +228,6 @@ extern void xfs_icsb_sync_counters_locked(struct xfs_mount *, int); | |||
228 | typedef struct xfs_mount { | 228 | typedef struct xfs_mount { |
229 | struct super_block *m_super; | 229 | struct super_block *m_super; |
230 | xfs_tid_t m_tid; /* next unused tid for fs */ | 230 | xfs_tid_t m_tid; /* next unused tid for fs */ |
231 | spinlock_t m_ail_lock; /* fs AIL mutex */ | ||
232 | struct xfs_ail *m_ail; /* fs active log item list */ | 231 | struct xfs_ail *m_ail; /* fs active log item list */ |
233 | xfs_sb_t m_sb; /* copy of fs superblock */ | 232 | xfs_sb_t m_sb; /* copy of fs superblock */ |
234 | spinlock_t m_sb_lock; /* sb counter lock */ | 233 | spinlock_t m_sb_lock; /* sb counter lock */ |