diff options
| author | Christoph Hellwig <[email protected]> | 2024-11-04 04:18:44 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-11-05 21:38:29 +0000 |
| commit | 77a530e6c49d22bd4a221d2f059db24fc30094db (patch) | |
| tree | 9c91268de40a88bb0f4bacd8b8c0f6028f13d1a9 /fs/xfs/scrub/alloc.c | |
| parent | xfs: convert busy extent tracking to the generic group structure (diff) | |
| download | kernel-77a530e6c49d22bd4a221d2f059db24fc30094db.tar.gz kernel-77a530e6c49d22bd4a221d2f059db24fc30094db.zip | |
xfs: add a generic group pointer to the btree cursor
Replace the pag pointers in the type specific union with a generic
xfs_group pointer. This prepares for adding realtime group support.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/scrub/alloc.c')
| -rw-r--r-- | fs/xfs/scrub/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/alloc.c b/fs/xfs/scrub/alloc.c index d1b8a4997dd2..8b282138097f 100644 --- a/fs/xfs/scrub/alloc.c +++ b/fs/xfs/scrub/alloc.c @@ -139,7 +139,7 @@ xchk_allocbt_rec( struct xchk_alloc *ca = bs->private; xfs_alloc_btrec_to_irec(rec, &irec); - if (xfs_alloc_check_irec(bs->cur->bc_ag.pag, &irec) != NULL) { + if (xfs_alloc_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) { xchk_btree_set_corrupt(bs->sc, bs->cur, 0); return 0; } |
