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/quota/xfs_dquot_item.c | |
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/quota/xfs_dquot_item.c')
-rw-r--r-- | fs/xfs/quota/xfs_dquot_item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/quota/xfs_dquot_item.c b/fs/xfs/quota/xfs_dquot_item.c index 48f08109621f..0e1fa517db09 100644 --- a/fs/xfs/quota/xfs_dquot_item.c +++ b/fs/xfs/quota/xfs_dquot_item.c | |||
@@ -555,7 +555,7 @@ xfs_qm_qoffend_logitem_committed( | |||
555 | xfs_qoff_logitem_t *qfs; | 555 | xfs_qoff_logitem_t *qfs; |
556 | 556 | ||
557 | qfs = qfe->qql_start_lip; | 557 | qfs = qfe->qql_start_lip; |
558 | spin_lock(&qfs->qql_item.li_mountp->m_ail_lock); | 558 | spin_lock(&qfs->qql_item.li_mountp->m_ail->xa_lock); |
559 | /* | 559 | /* |
560 | * Delete the qoff-start logitem from the AIL. | 560 | * Delete the qoff-start logitem from the AIL. |
561 | * xfs_trans_delete_ail() drops the AIL lock. | 561 | * xfs_trans_delete_ail() drops the AIL lock. |