diff options
author | Dave Chinner <dchinner@redhat.com> | 2020-03-11 03:51:15 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-13 20:37:14 +0300 |
commit | 576af7322807601d5ef366597645a69471570e10 (patch) | |
tree | 301144315de1b20646346695dc02cbc96ff549da /fs/xfs/scrub/agheader_repair.c | |
parent | 7cace18ab576ef65d16498d3a9e2170fff5f5c93 (diff) | |
download | linux-576af7322807601d5ef366597645a69471570e10.tar.xz |
xfs: convert btree cursor ag-private member name
bc_private.a -> bc_ag conversion via script:
`sed -i 's/bc_private\.a/bc_ag/g' fs/xfs/*[ch] fs/xfs/*/*[ch]`
And then revert the change to the bc_ag #define in
fs/xfs/libxfs/xfs_btree.h manually.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/agheader_repair.c')
-rw-r--r-- | fs/xfs/scrub/agheader_repair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/agheader_repair.c b/fs/xfs/scrub/agheader_repair.c index 9b3954d7f7d9..73e6efd76877 100644 --- a/fs/xfs/scrub/agheader_repair.c +++ b/fs/xfs/scrub/agheader_repair.c @@ -453,7 +453,7 @@ xrep_agfl_walk_rmap( /* Record all the OWN_AG blocks. */ if (rec->rm_owner == XFS_RMAP_OWN_AG) { - fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, + fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_ag.agno, rec->rm_startblock); error = xfs_bitmap_set(ra->freesp, fsb, rec->rm_blockcount); if (error) |