]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: pass the fsbno to xfs_perag_intent_get
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jul 2024 18:22:51 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:01 +0000 (11:37 -0700)
commit62d597a197e390a89eadff60b98231e91b32ab83
treed254459819a49e3f00f9766b5681c85891bae207
parent980faece91a60c279e7c24cb1d1a378bbbb74bb9
xfs: pass the fsbno to xfs_perag_intent_get

All callers of xfs_perag_intent_get have a fsbno and need boilerplate
code to turn that into an agno.  Just pass the fsbno to
xfs_perag_intent_get and look up the agno there.

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_bmap_item.c
fs/xfs/xfs_drain.c
fs/xfs/xfs_drain.h
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c