summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorBrian Foster2018-08-01 16:20:30 +0200
committerDarrick J. Wong2018-08-03 08:05:13 +0200
commitce356d64772f920f26cd6c1b02878a737a275638 (patch)
treec097925c224998492ba5c723a760cfa0c560e459 /fs/xfs/xfs_log_recover.c
parentxfs: remove unused __xfs_defer_cancel() internal helper (diff)
downloadkernel-qcow2-linux-ce356d64772f920f26cd6c1b02878a737a275638.tar.gz
kernel-qcow2-linux-ce356d64772f920f26cd6c1b02878a737a275638.tar.xz
kernel-qcow2-linux-ce356d64772f920f26cd6c1b02878a737a275638.zip
xfs: pass transaction to dfops reset/move helpers
All callers pass ->t_dfops of the associated transactions. Refactor the helpers to receive the transactions and facilitate further cleanups between xfs_defer_ops and xfs_trans. 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/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index fc1ce9a644e3..a21dc61ec09e 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -4853,7 +4853,7 @@ xlog_finish_defer_ops(
if (error)
return error;
/* transfer all collected dfops to this transaction */
- xfs_defer_move(tp->t_dfops, parent_tp->t_dfops);
+ xfs_defer_move(tp, parent_tp);
return xfs_trans_commit(tp);
}