xfs: introduce new private btree cursor names
authorDave Chinner <dchinner@redhat.com>
Wed, 11 Mar 2020 00:50:41 +0000 (17:50 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 13 Mar 2020 17:37:13 +0000 (10:37 -0700)
Just the defines of the new names - the conversion will be in
scripted commits after this.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: change "bc_bt" to "bc_ino"]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_btree.h

index 3eff7c3..4a1c98b 100644 (file)
@@ -224,6 +224,8 @@ typedef struct xfs_btree_cur
 #define        XFS_BTCUR_BPRV_INVALID_OWNER    (1<<1)          /* for ext swap */
                } b;
        }               bc_private;     /* per-btree type data */
+#define bc_ag  bc_private.a
+#define bc_ino bc_private.b
 } xfs_btree_cur_t;
 
 /* cursor flags */