aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_defer.c
diff options
context:
space:
mode:
authorGravatar Brian Foster <bfoster@redhat.com> 2018-08-01 07:20:30 -0700
committerGravatar Darrick J. Wong <darrick.wong@oracle.com> 2018-08-02 23:05:13 -0700
commit7279aa13b8fb954f50073a672f912898198efd14 (patch)
treed6971adca99e1323b780e3acb2bf210dfaab97ab /fs/xfs/libxfs/xfs_defer.c
parentxfs: use transaction for intent recovery instead of raw dfops (diff)
downloadlinux-7279aa13b8fb954f50073a672f912898198efd14.tar.gz
linux-7279aa13b8fb954f50073a672f912898198efd14.tar.bz2
linux-7279aa13b8fb954f50073a672f912898198efd14.zip
xfs: remove unused __xfs_defer_cancel() internal helper
With no more external dfops users, there is no need for an xfs_defer_ops cancel wrapper. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_defer.c')
-rw-r--r--fs/xfs/libxfs/xfs_defer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_defer.c b/fs/xfs/libxfs/xfs_defer.c
index a5f7dc18a62f..ebead781613f 100644
--- a/fs/xfs/libxfs/xfs_defer.c
+++ b/fs/xfs/libxfs/xfs_defer.c
@@ -465,9 +465,10 @@ xfs_defer_finish(
* Free up any items left in the list.
*/
void
-__xfs_defer_cancel(
- struct xfs_defer_ops *dop)
+xfs_defer_cancel(
+ struct xfs_trans *tp)
{
+ struct xfs_defer_ops *dop = tp->t_dfops;
struct xfs_defer_pending *dfp;
struct xfs_defer_pending *pli;
struct list_head *pwi;