diff options
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
-rw-r--r-- | fs/xfs/xfs_buf_item.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index 91ad92e83bc6..711f69abbbe4 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c | |||
@@ -460,13 +460,10 @@ xfs_buf_item_unpin_remove( | |||
460 | * occurs later in the xfs_trans_uncommit() will try to | 460 | * occurs later in the xfs_trans_uncommit() will try to |
461 | * reference the buffer which we no longer have a hold on. | 461 | * reference the buffer which we no longer have a hold on. |
462 | */ | 462 | */ |
463 | struct xfs_log_item_desc *lidp; | ||
464 | |||
465 | ASSERT(XFS_BUF_VALUSEMA(bip->bli_buf) <= 0); | 463 | ASSERT(XFS_BUF_VALUSEMA(bip->bli_buf) <= 0); |
466 | trace_xfs_buf_item_unpin_stale(bip); | 464 | trace_xfs_buf_item_unpin_stale(bip); |
467 | 465 | ||
468 | lidp = xfs_trans_find_item(tp, (xfs_log_item_t *)bip); | 466 | xfs_trans_del_item(&bip->bli_item); |
469 | xfs_trans_free_item(tp, lidp); | ||
470 | 467 | ||
471 | /* | 468 | /* |
472 | * Since the transaction no longer refers to the buffer, the | 469 | * Since the transaction no longer refers to the buffer, the |