diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2006-09-27 21:02:44 -0400 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-09-27 21:02:44 -0400 |
commit | 065d312e15902976d256ddaf396a7950ec0350a8 (patch) | |
tree | 3bb473ec8f6d6dd8abc551ac52692d9e68d1721b /fs/xfs/xfs_buf_item.c | |
parent | 43129c16e85119355d352e10ff4b30a08053228c (diff) |
[XFS] Remove unused iop_abort log item operation
SGI-PV: 955302
SGI-Modid: xfs-linux-melb:xfs-kern:26747a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
-rw-r--r-- | fs/xfs/xfs_buf_item.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index 4597381b8ff9..7a55c248ea70 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 | */ | ||
635 | STATIC void | ||
636 | xfs_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 |