xfs: make the btree ag cursor private union anonymous
authorDave Chinner <dchinner@redhat.com>
Wed, 11 Mar 2020 00:57:51 +0000 (17:57 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 13 Mar 2020 17:37:15 +0000 (10:37 -0700)
commitc4aa10d041968f55f00fe8ca768b6f45f4066a69
tree95c8b2e353fc6ce34799652109068db21265262d
parent68422d90dad4fe98f99d6e414aeec9a58d5185d5
xfs: make the btree ag cursor private union anonymous

This is much less widely used than the bc_private union was, so this
is done as a single patch. The named union xfs_btree_cur_private
goes away and is embedded into the struct xfs_btree_cur_ag as an
anonymous union, and the code is modified via this script:

$ sed -i 's/priv\.\([abt|refc]\)/\1/g' fs/xfs/*[ch] fs/xfs/*/*[ch]

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>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_alloc_btree.c
fs/xfs/libxfs/xfs_btree.h
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_refcount_btree.c