xfs: remove agno from btree cursor
Now that everything passes a perag, the agno is not needed anymore. Convert all the users to use pag->pag_agno instead and remove the agno from the cursor. This was largely done as an automated search and replace. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
committed by
Dave Chinner
parent
7b13c51551
commit
50f02fe333
@ -230,7 +230,7 @@ xfs_alloc_get_rec(
|
||||
int *stat) /* output: success/failure */
|
||||
{
|
||||
struct xfs_mount *mp = cur->bc_mp;
|
||||
xfs_agnumber_t agno = cur->bc_ag.agno;
|
||||
xfs_agnumber_t agno = cur->bc_ag.pag->pag_agno;
|
||||
union xfs_btree_rec *rec;
|
||||
int error;
|
||||
|
||||
|
Reference in New Issue
Block a user