diff options
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 4e1c22a23be5..99ba0e2658b7 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -1425,7 +1425,7 @@ xfs_trans_chunk_committed( | |||
1425 | * the test below. | 1425 | * the test below. |
1426 | */ | 1426 | */ |
1427 | mp = lip->li_mountp; | 1427 | mp = lip->li_mountp; |
1428 | spin_lock(&mp->m_ail_lock); | 1428 | spin_lock(&mp->m_ail->xa_lock); |
1429 | if (XFS_LSN_CMP(item_lsn, lip->li_lsn) > 0) { | 1429 | if (XFS_LSN_CMP(item_lsn, lip->li_lsn) > 0) { |
1430 | /* | 1430 | /* |
1431 | * This will set the item's lsn to item_lsn | 1431 | * This will set the item's lsn to item_lsn |
@@ -1436,7 +1436,7 @@ xfs_trans_chunk_committed( | |||
1436 | */ | 1436 | */ |
1437 | xfs_trans_update_ail(mp, lip, item_lsn); | 1437 | xfs_trans_update_ail(mp, lip, item_lsn); |
1438 | } else { | 1438 | } else { |
1439 | spin_unlock(&mp->m_ail_lock); | 1439 | spin_unlock(&mp->m_ail->xa_lock); |
1440 | } | 1440 | } |
1441 | 1441 | ||
1442 | /* | 1442 | /* |