aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf_item.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
-rw-r--r--fs/xfs/xfs_buf_item.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c
index 4597381b8ff..7a55c248ea7 100644
--- a/fs/xfs/xfs_buf_item.c
+++ b/fs/xfs/xfs_buf_item.c
@@ -627,25 +627,6 @@ xfs_buf_item_committed(
627} 627}
628 628
629/* 629/*
630 * This is called when the transaction holding the buffer is aborted.
631 * Just behave as if the transaction had been cancelled. If we're shutting down
632 * and have aborted this transaction, we'll trap this buffer when it tries to
633 * get written out.
634 */
635STATIC void
636xfs_buf_item_abort(
637 xfs_buf_log_item_t *bip)
638{
639 xfs_buf_t *bp;
640
641 bp = bip->bli_buf;
642 xfs_buftrace("XFS_ABORT", bp);
643 XFS_BUF_SUPER_STALE(bp);
644 xfs_buf_item_unlock(bip);
645 return;
646}
647
648/*
649 * This is called to asynchronously write the buffer associated with this 630 * This is called to asynchronously write the buffer associated with this
650 * buf log item out to disk. The buffer will already have been locked by 631 * buf log item out to disk. The buffer will already have been locked by
651 * a successful call to xfs_buf_item_trylock(). If the buffer still has 632 * a successful call to xfs_buf_item_trylock(). If the buffer still has
@@ -692,7 +673,6 @@ STATIC struct xfs_item_ops xfs_buf_item_ops = {
692 .iop_committed = (xfs_lsn_t(*)(xfs_log_item_t*, xfs_lsn_t)) 673 .iop_committed = (xfs_lsn_t(*)(xfs_log_item_t*, xfs_lsn_t))
693 xfs_buf_item_committed, 674 xfs_buf_item_committed,
694 .iop_push = (void(*)(xfs_log_item_t*))xfs_buf_item_push, 675 .iop_push = (void(*)(xfs_log_item_t*))xfs_buf_item_push,
695 .iop_abort = (void(*)(xfs_log_item_t*))xfs_buf_item_abort,
696 .iop_pushbuf = NULL, 676 .iop_pushbuf = NULL,
697 .iop_committing = (void(*)(xfs_log_item_t*, xfs_lsn_t)) 677 .iop_committing = (void(*)(xfs_log_item_t*, xfs_lsn_t))
698 xfs_buf_item_committing 678 xfs_buf_item_committing