]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: add a xefi_entry helper
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Oct 2024 01:17:12 +0000 (18:17 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit611d0eaeb29eeb6c6967bca35f689b529473a272
tree7007575c52bdcb2ac93ee5eb3cdeac61dd332eed
parentc4bef0ef27b413df37e75916f8e741c2cd587c2b
xfs: add a xefi_entry helper

Source kernel commit: 649c0c2b86ee944a1a9962b310b1b97ead12e97a

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>
libxfs/defer_item.c