]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add a ri_entry helper
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Oct 2024 01:19:17 +0000 (18:19 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit8c775051ce9cc34069a0cf75c4744adbb7c4540d
treec3c1f25c236ff1719b59f65b044b65bce0451929
parent0e95442e45f015db97f258509f6353d40647f0ab
xfs: add a ri_entry helper

Source kernel commit: f93963779b438a33ca4b13384c070a6864ce2b2b

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

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