summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_btree.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2020-03-11 01:54:38 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-13 18:37:14 +0100
commit8ef547976a18e3d672194d8c944c19b345ef6bfc (patch)
treee73d42acd0683ca492c433e5f041349b2e02d851 /fs/xfs/libxfs/xfs_btree.h
parentxfs: convert btree cursor inode-private member names (diff)
downloadlinux-8ef547976a18e3d672194d8c944c19b345ef6bfc.tar.xz
linux-8ef547976a18e3d672194d8c944c19b345ef6bfc.zip
xfs: rename btree cursor private btree member flags
BPRV is not longer appropriate because bc_private is going away. Script: $ sed -i 's/BTCUR_BPRV/BTCUR_BMBT/g' fs/xfs/*[ch] fs/xfs/*/*[ch] With manual cleanup to the definitions in fs/xfs/libxfs/xfs_btree.h Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> [darrick: change "BC_BT" to "BTCUR_BMBT", fix subject line typo] Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/xfs/libxfs/xfs_btree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_btree.h b/fs/xfs/libxfs/xfs_btree.h
index 4a1c98bdfaad..00a58ac8b696 100644
--- a/fs/xfs/libxfs/xfs_btree.h
+++ b/fs/xfs/libxfs/xfs_btree.h
@@ -220,8 +220,8 @@ typedef struct xfs_btree_cur
short forksize; /* fork's inode space */
char whichfork; /* data or attr fork */
char flags; /* flags */
-#define XFS_BTCUR_BPRV_WASDEL (1<<0) /* was delayed */
-#define XFS_BTCUR_BPRV_INVALID_OWNER (1<<1) /* for ext swap */
+#define XFS_BTCUR_BMBT_WASDEL (1 << 0) /* was delayed */
+#define XFS_BTCUR_BMBT_INVALID_OWNER (1 << 1) /* for ext swap */
} b;
} bc_private; /* per-btree type data */
#define bc_ag bc_private.a