diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-06-02 03:48:24 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2021-06-02 03:48:24 +0300 |
commit | 50f02fe3338d3fee6b298a1b262a4c562e7d84e0 (patch) | |
tree | 9835bf46ad3b730bf49522e57a94fad6231116ac /fs/xfs/libxfs/xfs_rmap_btree.c | |
parent | 7b13c515518264df0cb90d84fdab907a627c0fa9 (diff) | |
download | linux-50f02fe3338d3fee6b298a1b262a4c562e7d84e0.tar.xz |
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_rmap_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_rmap_btree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_rmap_btree.c b/fs/xfs/libxfs/xfs_rmap_btree.c index cafe181bc92d..f29bc71b9950 100644 --- a/fs/xfs/libxfs/xfs_rmap_btree.c +++ b/fs/xfs/libxfs/xfs_rmap_btree.c @@ -464,7 +464,6 @@ xfs_rmapbt_init_common( /* take a reference for the cursor */ atomic_inc(&pag->pag_ref); cur->bc_ag.pag = pag; - cur->bc_ag.agno = pag->pag_agno; return cur; } |