]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add a ci_entry helper
authorDarrick J. Wong <djwong@kernel.org>
Fri, 17 Nov 2023 17:48:14 +0000 (09:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 22 Nov 2023 23:03:40 +0000 (15:03 -0800)
commit96c48d0164f46bcabb068d404c7b48b26bd28e03
tree2df68528c058de6034e05b5d5b0d36e5ffcb8b09
parent11a43b04fd24768a777e7590f83e1cc564a7cf6c
xfs: add a ci_entry helper

Add a helper to translate from the item list head to the
refcount_intent_item structure and use it so shorten assignments and
avoid the need for extra local variables.

Inspired-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/defer_item.c