diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-28 19:27:36 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-28 19:27:36 -0700 |
commit | 73f0d23633c10d311a14a0cadb75fff2faa73688 (patch) | |
tree | fba7867cd2503372f72100f7763b63c944c8bc5a /fs/xfs/xfs_trans_bmap.c | |
parent | 60883447f45226d95be3b213c32d255db23ab4e6 (diff) | |
download | linux-73f0d23633c10d311a14a0cadb75fff2faa73688.tar.bz2 |
xfs: merge xfs_bud_init into xfs_trans_get_bud
There is no good reason to keep these two functions separate.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_trans_bmap.c')
-rw-r--r-- | fs/xfs/xfs_trans_bmap.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/xfs/xfs_trans_bmap.c b/fs/xfs/xfs_trans_bmap.c index e1c7d55b32c3..c6f5b217d17c 100644 --- a/fs/xfs/xfs_trans_bmap.c +++ b/fs/xfs/xfs_trans_bmap.c @@ -19,22 +19,6 @@ #include "xfs_inode.h" /* - * This routine is called to allocate a "bmap update done" - * log item. - */ -struct xfs_bud_log_item * -xfs_trans_get_bud( - struct xfs_trans *tp, - struct xfs_bui_log_item *buip) -{ - struct xfs_bud_log_item *budp; - - budp = xfs_bud_init(tp->t_mountp, buip); - xfs_trans_add_item(tp, &budp->bud_item); - return budp; -} - -/* * Finish an bmap update and log it to the BUD. Note that the * transaction is marked dirty regardless of whether the bmap update * succeeds or fails to support the BUI/BUD lifecycle rules. |