]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: add a bi_entry helper
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:15 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:41 +0000 (11:37 -0700)
commit9b2a3a3fed4bc8656569aaba049acf59cacb1294
tree6a989672db669a12670b3fe6dbd7f79b1ca7b391
parentbb7854672d26b4c68285468554b1abfa18f96169
libxfs: add a bi_entry helper

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

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