]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: pass the fsbno to xfs_perag_intent_get
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Oct 2024 01:16:56 +0000 (18:16 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commitc4bef0ef27b413df37e75916f8e741c2cd587c2b
tree052d57a2642b1873e027b46ce084b35190089cb2
parentad2fb6bca5168113d4d21cb6c29eea597ad52cf2
xfs: pass the fsbno to xfs_perag_intent_get

Source kernel commit: 62d597a197e390a89eadff60b98231e91b32ab83

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