]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: add a xefi_entry helper
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jul 2024 18:22:52 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:01 +0000 (11:37 -0700)
commit649c0c2b86ee944a1a9962b310b1b97ead12e97a
treea6fea2cafa04ab618d1426b0a44f57b756efa6e5
parent62d597a197e390a89eadff60b98231e91b32ab83
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