]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: pass the fsbno to xfs_perag_intent_get
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Jul 2024 21:21:38 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:13:13 +0000 (17:13 -0700)
commitca01ccf773eabed2756541d7c68671b4de56a38f
treeef32ab15fcbf89c2cabaac2ea7ba35f6ee2931e6
parentc62e66377faa2366a3be6a02742198e090b48d51
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>
include/xfs_mount.h
libxfs/defer_item.c