]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: rename XFS_REFC_COW_START to _COWFLAG
authorDarrick J. Wong <djwong@kernel.org>
Fri, 18 Nov 2022 11:23:57 +0000 (12:23 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 21 Nov 2022 14:26:49 +0000 (15:26 +0100)
commit7257eb3ed929115a2bc46a33911341374483924f
tree472061947b870f05cb1889699550150018543851
parent7accbcd005b3cf89a5e53e7e36475ad17b2387f1
xfs: rename XFS_REFC_COW_START to _COWFLAG

Source kernel commit: 8b972158afcaa66c538c3ee1d394f096fcd238a8

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>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
db/check.c
libxfs/xfs_format.h
libxfs/xfs_refcount.c
libxfs/xfs_refcount.h
repair/scan.c