diff options
Diffstat (limited to 'fs/xfs/quota')
-rw-r--r-- | fs/xfs/quota/xfs_dquot.c | 4 | ||||
-rw-r--r-- | fs/xfs/quota/xfs_dquot_item.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c index 59c1081412ec..0d7a62bffeed 100644 --- a/fs/xfs/quota/xfs_dquot.c +++ b/fs/xfs/quota/xfs_dquot.c | |||
@@ -1333,7 +1333,7 @@ xfs_qm_dqflush_done( | |||
1333 | if ((qip->qli_item.li_flags & XFS_LI_IN_AIL) && | 1333 | if ((qip->qli_item.li_flags & XFS_LI_IN_AIL) && |
1334 | qip->qli_item.li_lsn == qip->qli_flush_lsn) { | 1334 | qip->qli_item.li_lsn == qip->qli_flush_lsn) { |
1335 | 1335 | ||
1336 | spin_lock(&dqp->q_mount->m_ail_lock); | 1336 | spin_lock(&dqp->q_mount->m_ail->xa_lock); |
1337 | /* | 1337 | /* |
1338 | * xfs_trans_delete_ail() drops the AIL lock. | 1338 | * xfs_trans_delete_ail() drops the AIL lock. |
1339 | */ | 1339 | */ |
@@ -1341,7 +1341,7 @@ xfs_qm_dqflush_done( | |||
1341 | xfs_trans_delete_ail(dqp->q_mount, | 1341 | xfs_trans_delete_ail(dqp->q_mount, |
1342 | (xfs_log_item_t*)qip); | 1342 | (xfs_log_item_t*)qip); |
1343 | else | 1343 | else |
1344 | spin_unlock(&dqp->q_mount->m_ail_lock); | 1344 | spin_unlock(&dqp->q_mount->m_ail->xa_lock); |
1345 | } | 1345 | } |
1346 | 1346 | ||
1347 | /* | 1347 | /* |
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. |