aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_ail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_trans_ail.c')
-rw-r--r--fs/xfs/xfs_trans_ail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c
index 959374a0d028..2c0db81f035d 100644
--- a/fs/xfs/xfs_trans_ail.c
+++ b/fs/xfs/xfs_trans_ail.c
@@ -707,7 +707,8 @@ void
707xfs_trans_ail_delete_bulk( 707xfs_trans_ail_delete_bulk(
708 struct xfs_ail *ailp, 708 struct xfs_ail *ailp,
709 struct xfs_log_item **log_items, 709 struct xfs_log_item **log_items,
710 int nr_items) __releases(ailp->xa_lock) 710 int nr_items,
711 int shutdown_type) __releases(ailp->xa_lock)
711{ 712{
712 xfs_log_item_t *mlip; 713 xfs_log_item_t *mlip;
713 int mlip_changed = 0; 714 int mlip_changed = 0;
@@ -725,7 +726,7 @@ xfs_trans_ail_delete_bulk(
725 xfs_alert_tag(mp, XFS_PTAG_AILDELETE, 726 xfs_alert_tag(mp, XFS_PTAG_AILDELETE,
726 "%s: attempting to delete a log item that is not in the AIL", 727 "%s: attempting to delete a log item that is not in the AIL",
727 __func__); 728 __func__);
728 xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE); 729 xfs_force_shutdown(mp, shutdown_type);
729 } 730 }
730 return; 731 return;
731 } 732 }