]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libfrog: rename XFROG_SCRUB_TYPE_* to XFROG_SCRUB_GROUP_*
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:48 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:27 +0000 (14:06 -0700)
commit20860d6aa08dd79e183dd7239099501ad3582bbc
tree9e72635fbccc9032918491aa59cc74faf4896e27
parentc02a18733fc0a0e1b607f75e90962b3adc27c8fa
libfrog: rename XFROG_SCRUB_TYPE_* to XFROG_SCRUB_GROUP_*

I didn't do a good job of naming XFROG_SCRUB_TYPE when I created that
enumeration.  The goal of the enum is to group the scrub ioctl's
XFS_SCRUB_TYPE_* codes by principal filesystem object (AG, inode, etc.)
but for some dumb reason I chose to reuse "type".  This is confusing,
so fix this sin.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
io/scrub.c
libfrog/scrub.c
libfrog/scrub.h
scrub/scrub.c