]> Gentwo Git Trees - linux/.git/commit
xfs: XFS_ONLINE_SCRUB_STATS should depend on DEBUG_FS
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Oct 2025 08:48:46 +0000 (10:48 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 21 Oct 2025 07:52:59 +0000 (09:52 +0200)
commitf5caeb3689ea2d8a8c0790d9eea68b63e8f15496
treedfcda3977f10a4c3d3b8fdcccbd65c992522297d
parentb00bcb190eef35ae4da3c424b8a72f287e69f650
xfs: XFS_ONLINE_SCRUB_STATS should depend on DEBUG_FS

Currently, XFS_ONLINE_SCRUB_STATS selects DEBUG_FS.  However, DEBUG_FS
is meant for debugging, and people may want to disable it on production
systems.  Since commit 0ff51a1fd786f47b ("xfs: enable online fsck by
default in Kconfig")), XFS_ONLINE_SCRUB_STATS is enabled by default,
forcing DEBUG_FS enabled too.

Fix this by replacing the selection of DEBUG_FS by a dependency on
DEBUG_FS, which is what most other options controlling the gathering and
exposing of statistics do.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/Kconfig