summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_priv.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2022-07-07 18:55:59 +1000
committerDave Chinner <david@fromorbit.com>2022-07-07 18:55:59 +1000
commit169248536a2b28e4228ba63772936c1ba979c9c0 (patch)
treef510a77a60c488e8dd6f1d2581c26e1e38e3f2dd /fs/xfs/xfs_trans_priv.h
parentc0fb4765c5086cfd00f1158f5f44e7e1906530ad (diff)
downloadlinux-stable-169248536a2b28e4228ba63772936c1ba979c9c0.tar.gz
linux-stable-169248536a2b28e4228ba63772936c1ba979c9c0.tar.bz2
linux-stable-169248536a2b28e4228ba63772936c1ba979c9c0.zip
xfs: convert log vector chain to use list heads
Because the next change is going to require sorting log vectors, and that requires arbitrary rearrangement of the list which cannot be done easily with a single linked list. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
-rw-r--r--fs/xfs/xfs_trans_priv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_priv.h b/fs/xfs/xfs_trans_priv.h
index f0d79a9050ba..d5400150358e 100644
--- a/fs/xfs/xfs_trans_priv.h
+++ b/fs/xfs/xfs_trans_priv.h
@@ -19,7 +19,8 @@ void xfs_trans_add_item(struct xfs_trans *, struct xfs_log_item *);
void xfs_trans_del_item(struct xfs_log_item *);
void xfs_trans_unreserve_and_mod_sb(struct xfs_trans *tp);
-void xfs_trans_committed_bulk(struct xfs_ail *ailp, struct xfs_log_vec *lv,
+void xfs_trans_committed_bulk(struct xfs_ail *ailp,
+ struct list_head *lv_chain,
xfs_lsn_t commit_lsn, bool aborted);
/*
* AIL traversal cursor.