aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-06-22 04:50:14 -0400
committerBen Myers <bpm@sgi.com>2012-07-01 15:50:07 -0400
commit1d9025e56143c0c4aebebdb62e46618d3d284218 (patch)
treec31b34008dbd17ac1811c73cc515ea7f6247e2f0 /fs/xfs/xfs_dir2.c
parent3605431fb9739a30ccd0c6380ae8e3c6f8e670a5 (diff)
xfs: remove struct xfs_dabuf and infrastructure
The struct xfs_dabuf now only tracks a single xfs_buf and all the information it holds can be gained directly from the xfs_buf. Hence we can remove the struct dabuf and pass the xfs_buf around everywhere. Kill the struct dabuf and the associated infrastructure. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir2.c')
-rw-r--r--fs/xfs/xfs_dir2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dir2.c b/fs/xfs/xfs_dir2.c
index 67a250c36d41..b26a50f9921d 100644
--- a/fs/xfs/xfs_dir2.c
+++ b/fs/xfs/xfs_dir2.c
@@ -592,7 +592,7 @@ int
592xfs_dir2_shrink_inode( 592xfs_dir2_shrink_inode(
593 xfs_da_args_t *args, 593 xfs_da_args_t *args,
594 xfs_dir2_db_t db, 594 xfs_dir2_db_t db,
595 xfs_dabuf_t *bp) 595 struct xfs_buf *bp)
596{ 596{
597 xfs_fileoff_t bno; /* directory file offset */ 597 xfs_fileoff_t bno; /* directory file offset */
598 xfs_dablk_t da; /* directory file offset */ 598 xfs_dablk_t da; /* directory file offset */
@@ -634,7 +634,7 @@ xfs_dir2_shrink_inode(
634 /* 634 /*
635 * Invalidate the buffer from the transaction. 635 * Invalidate the buffer from the transaction.
636 */ 636 */
637 xfs_da_binval(tp, bp); 637 xfs_trans_binval(tp, bp);
638 /* 638 /*
639 * If it's not a data block, we're done. 639 * If it's not a data block, we're done.
640 */ 640 */