]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: add a ri_entry helper
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jul 2024 18:23:01 +0000 (11:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:04 +0000 (11:37 -0700)
commitf93963779b438a33ca4b13384c070a6864ce2b2b
treedc014029a1f768a770ff345076057776fa78c691
parentc9099a28c264a9284171a3d56932e44f0e8b4cfa
xfs: add a ri_entry helper

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>
fs/xfs/xfs_rmap_item.c