]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: add a ci_entry helper
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:21:37 +0000 (18:21 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit62ae47e4ae8b680286bb580762515f6b32389001
tree6225939dd805682d79d2df3ed736a339499ab346
parentefee29abb3e87bc589998285584b3e37ecf96d22
xfs: add a ci_entry helper

Source kernel commit: 0e9254861f980bd60a58b7c2b57ba0414c038409

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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/defer_item.c