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>
Showing
- fs/xfs/xfs_bmap_item.c 1 addition, 5 deletionsfs/xfs/xfs_bmap_item.c
- fs/xfs/xfs_drain.c 4 additions, 4 deletionsfs/xfs/xfs_drain.c
- fs/xfs/xfs_drain.h 3 additions, 2 deletionsfs/xfs/xfs_drain.h
- fs/xfs/xfs_extfree_item.c 1 addition, 4 deletionsfs/xfs/xfs_extfree_item.c
- fs/xfs/xfs_refcount_item.c 1 addition, 4 deletionsfs/xfs/xfs_refcount_item.c
- fs/xfs/xfs_rmap_item.c 1 addition, 4 deletionsfs/xfs/xfs_rmap_item.c
Please register or sign in to comment