]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: add a xefi_entry helper
authorChristoph Hellwig <hch@lst.de>
Wed, 29 May 2024 04:11:36 +0000 (21:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:17:04 +0000 (17:17 -0700)
commit1f97f78017f6d7797cd4638e036e1aa6b5dbaed7
tree5e18afa9d77e681dcb814eb63def840f73c1f065
parent9e3b678c0286e9972e18d9ab2cac7fa1c28a2c46
xfs: add a xefi_entry helper

Add a helper to translate from the item list head to the
xfs_extent_free_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_extfree_item.c