diff options
| author | Dave Chinner <[email protected]> | 2021-06-02 00:48:24 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2021-06-02 00:48:24 +0000 |
| commit | be9fb17d88f08af648a89784d30dbac83d893154 (patch) | |
| tree | 7609c3af495c79f3d2c183b1f9e9cfdc4cde38a8 /fs/xfs/xfs_discard.c | |
| parent | xfs: pass perags around in fsmap data dev functions (diff) | |
| download | kernel-be9fb17d88f08af648a89784d30dbac83d893154.tar.gz kernel-be9fb17d88f08af648a89784d30dbac83d893154.zip | |
xfs: add a perag to the btree cursor
Which will eventually completely replace the agno in it.
Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_discard.c')
| -rw-r--r-- | fs/xfs/xfs_discard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_discard.c b/fs/xfs/xfs_discard.c index 972864250bd2..311ebaad4f5a 100644 --- a/fs/xfs/xfs_discard.c +++ b/fs/xfs/xfs_discard.c @@ -50,7 +50,7 @@ xfs_trim_extents( goto out_put_perag; agf = agbp->b_addr; - cur = xfs_allocbt_init_cursor(mp, NULL, agbp, agno, XFS_BTNUM_CNT); + cur = xfs_allocbt_init_cursor(mp, NULL, agbp, agno, pag, XFS_BTNUM_CNT); /* * Look up the longest btree in the AGF and start with it. |
