summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_btree.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2020-03-11 01:50:41 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-13 18:37:13 +0100
commit7cace18ab576ef65d16498d3a9e2170fff5f5c93 (patch)
tree7ec2fb4ff0af8b3d2cba86a4cd7f63471a23e80b /fs/xfs/libxfs/xfs_btree.h
parentxfs: fix regression in "cleanup xfs_dir2_block_getdents" (diff)
downloadlinux-7cace18ab576ef65d16498d3a9e2170fff5f5c93.tar.xz
linux-7cace18ab576ef65d16498d3a9e2170fff5f5c93.zip
xfs: introduce new private btree cursor names
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_btree.h')
-rw-r--r--fs/xfs/libxfs/xfs_btree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_btree.h b/fs/xfs/libxfs/xfs_btree.h
index 3eff7c321d43..4a1c98bdfaad 100644
--- a/fs/xfs/libxfs/xfs_btree.h
+++ b/fs/xfs/libxfs/xfs_btree.h
@@ -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 */