aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_refcount.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-28 19:27:35 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-06-28 19:27:35 -0700
commitebeb8e062906e1f715908e3e339eb197b7121ad0 (patch)
tree2a7343af321bb6f73ad33be358733ff23ebddd72 /fs/xfs/xfs_trans_refcount.c
parentxfs: merge xfs_efd_init into xfs_trans_get_efd (diff)
downloadlinux-dev-ebeb8e062906e1f715908e3e339eb197b7121ad0.tar.xz
linux-dev-ebeb8e062906e1f715908e3e339eb197b7121ad0.zip
xfs: merge xfs_cud_init into xfs_trans_get_cud
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_refcount.c')
-rw-r--r--fs/xfs/xfs_trans_refcount.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/xfs/xfs_trans_refcount.c b/fs/xfs/xfs_trans_refcount.c
index 8d734728dd1b..d793fb500378 100644
--- a/fs/xfs/xfs_trans_refcount.c
+++ b/fs/xfs/xfs_trans_refcount.c
@@ -18,22 +18,6 @@
#include "xfs_refcount.h"
/*
- * This routine is called to allocate a "refcount update done"
- * log item.
- */
-struct xfs_cud_log_item *
-xfs_trans_get_cud(
- struct xfs_trans *tp,
- struct xfs_cui_log_item *cuip)
-{
- struct xfs_cud_log_item *cudp;
-
- cudp = xfs_cud_init(tp->t_mountp, cuip);
- xfs_trans_add_item(tp, &cudp->cud_item);
- return cudp;
-}
-
-/*
* Finish an refcount update and log it to the CUD. Note that the
* transaction is marked dirty regardless of whether the refcount
* update succeeds or fails to support the CUI/CUD lifecycle rules.