xfs: exchange-range for repairs is no longer dynamic
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:48:29 +0000 (09:48 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 23:55:19 +0000 (16:55 -0700)
commit6d335233fe6952189c949d65ab16d92afb0b8fb4
tree6399ccdfede16296a598c2ba0335a9d4a84a05e2
parentb44bfc06958f49ccb611632a4fb7c7df4fdcbc06
xfs: exchange-range for repairs is no longer dynamic

The atomic file exchange-range functionality is now a permanent
filesystem feature instead of a dynamic log-incompat feature.  It cannot
be turned on at runtime, so we no longer need the XCHK_FSGATES flags and
whatnot that supported it.  Remove the flag and the enable function, and
move the xfs_has_exchange_range checks to the start of the repair
functions.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/attr_repair.c
fs/xfs/scrub/dir_repair.c
fs/xfs/scrub/parent_repair.c
fs/xfs/scrub/rtsummary_repair.c
fs/xfs/scrub/scrub.c
fs/xfs/scrub/scrub.h
fs/xfs/scrub/symlink_repair.c
fs/xfs/scrub/tempexch.h
fs/xfs/scrub/tempfile.c
fs/xfs/scrub/trace.h