aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_trans_ail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c
index 226c58bd62e0..9f427c2597bb 100644
--- a/fs/xfs/xfs_trans_ail.c
+++ b/fs/xfs/xfs_trans_ail.c
@@ -387,7 +387,7 @@ xfs_ail_worker(
387 * lots of contention on the AIL lists. 387 * lots of contention on the AIL lists.
388 */ 388 */
389 lsn = lip->li_lsn; 389 lsn = lip->li_lsn;
390 while ((XFS_LSN_CMP(lip->li_lsn, target) < 0)) { 390 while ((XFS_LSN_CMP(lip->li_lsn, target) <= 0)) {
391 int lock_result; 391 int lock_result;
392 /* 392 /*
393 * If we can lock the item without sleeping, unlock the AIL 393 * If we can lock the item without sleeping, unlock the AIL