xfs: rename XFS_REFC_COW_START to _COWFLAG
authorDarrick J. Wong <djwong@kernel.org>
Mon, 10 Oct 2022 18:13:20 +0000 (11:13 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 31 Oct 2022 15:58:22 +0000 (08:58 -0700)
commit8b972158afcaa66c538c3ee1d394f096fcd238a8
tree4dc628d17aa96b5dea6aaedd233a9e37716cdbdc
parentc1ccf967bf962b998f0c096e06a658ece27d10a0
xfs: rename XFS_REFC_COW_START to _COWFLAG

We've been (ab)using XFS_REFC_COW_START as both an integer quantity and
a bit flag, even though it's *only* a bit flag.  Rename the variable to
reflect its nature and update the cast target since we're not supposed
to be comparing it to xfs_agblock_t now.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_refcount.h