diff options
author | Christoph Hellwig <hch@lst.de> | 2024-08-29 07:08:39 +0300 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-09-03 10:07:44 +0530 |
commit | f9ffd095c89a07a8877ca0669ac164f8a6994afc (patch) | |
tree | 7279ce9b3b3d0858110c2b9717cbbb07e89c746e /lib/bch.c | |
parent | f48f0a8e00b67028d4492e7656b346fa0d806570 (diff) |
xfs: simplify tagged perag iteration
Pass the old perag structure to the tagged loop helpers so that they can
grab the old agno before releasing the reference. This removes the need
to separately track the agno and the iterator macro, and thus also
obsoletes the for_each_perag_tag syntactic sugar.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions