* [PATCH] xfs: fix again select in kconfig XFS_ONLINE_SCRUB_STATS
@ 2023-11-05 19:23 Anthony Iliopoulos
2023-11-05 22:51 ` Dave Chinner
2023-11-06 22:27 ` Darrick J. Wong
0 siblings, 2 replies; 3+ messages in thread
From: Anthony Iliopoulos @ 2023-11-05 19:23 UTC (permalink / raw)
To: linux-xfs; +Cc: Holger Hoffstätte
Commit 57c0f4a8ea3a attempted to fix the select in the kconfig entry
XFS_ONLINE_SCRUB_STATS by selecting XFS_DEBUG, but the original
intention was to select DEBUG_FS, since the feature relies on debugfs to
export the related scrub statistics.
Fixes: 57c0f4a8ea3a ("xfs: fix select in config XFS_ONLINE_SCRUB_STATS")
Reported-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
---
fs/xfs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/xfs/Kconfig b/fs/xfs/Kconfig
index ed0bc8cbc703..567fb37274d3 100644
--- a/fs/xfs/Kconfig
+++ b/fs/xfs/Kconfig
@@ -147,7 +147,7 @@ config XFS_ONLINE_SCRUB_STATS
bool "XFS online metadata check usage data collection"
default y
depends on XFS_ONLINE_SCRUB
- select XFS_DEBUG
+ select DEBUG_FS
help
If you say Y here, the kernel will gather usage data about
the online metadata check subsystem. This includes the number
--
2.42.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] xfs: fix again select in kconfig XFS_ONLINE_SCRUB_STATS
2023-11-05 19:23 [PATCH] xfs: fix again select in kconfig XFS_ONLINE_SCRUB_STATS Anthony Iliopoulos
@ 2023-11-05 22:51 ` Dave Chinner
2023-11-06 22:27 ` Darrick J. Wong
1 sibling, 0 replies; 3+ messages in thread
From: Dave Chinner @ 2023-11-05 22:51 UTC (permalink / raw)
To: Anthony Iliopoulos; +Cc: linux-xfs, Holger Hoffstätte
On Sun, Nov 05, 2023 at 08:23:18PM +0100, Anthony Iliopoulos wrote:
> Commit 57c0f4a8ea3a attempted to fix the select in the kconfig entry
> XFS_ONLINE_SCRUB_STATS by selecting XFS_DEBUG, but the original
> intention was to select DEBUG_FS, since the feature relies on debugfs to
> export the related scrub statistics.
>
> Fixes: 57c0f4a8ea3a ("xfs: fix select in config XFS_ONLINE_SCRUB_STATS")
>
> Reported-by: Holger Hoffstätte <holger@applied-asynchrony.com>
> Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Please add cc: <stable@kernel.org> so that it gets picked up for the
6.6 stable kernel.
Otherwise, looks fine.
Reviewed-by: Dave Chinner <dchinner@redhat.com>
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] xfs: fix again select in kconfig XFS_ONLINE_SCRUB_STATS
2023-11-05 19:23 [PATCH] xfs: fix again select in kconfig XFS_ONLINE_SCRUB_STATS Anthony Iliopoulos
2023-11-05 22:51 ` Dave Chinner
@ 2023-11-06 22:27 ` Darrick J. Wong
1 sibling, 0 replies; 3+ messages in thread
From: Darrick J. Wong @ 2023-11-06 22:27 UTC (permalink / raw)
To: Anthony Iliopoulos; +Cc: linux-xfs, Holger Hoffstätte
On Sun, Nov 05, 2023 at 08:23:18PM +0100, Anthony Iliopoulos wrote:
> Commit 57c0f4a8ea3a attempted to fix the select in the kconfig entry
> XFS_ONLINE_SCRUB_STATS by selecting XFS_DEBUG, but the original
> intention was to select DEBUG_FS, since the feature relies on debugfs to
> export the related scrub statistics.
>
> Fixes: 57c0f4a8ea3a ("xfs: fix select in config XFS_ONLINE_SCRUB_STATS")
>
> Reported-by: Holger Hoffstätte <holger@applied-asynchrony.com>
> Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Yep. Sorry about that garbledygook.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
--D
> ---
> fs/xfs/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/xfs/Kconfig b/fs/xfs/Kconfig
> index ed0bc8cbc703..567fb37274d3 100644
> --- a/fs/xfs/Kconfig
> +++ b/fs/xfs/Kconfig
> @@ -147,7 +147,7 @@ config XFS_ONLINE_SCRUB_STATS
> bool "XFS online metadata check usage data collection"
> default y
> depends on XFS_ONLINE_SCRUB
> - select XFS_DEBUG
> + select DEBUG_FS
> help
> If you say Y here, the kernel will gather usage data about
> the online metadata check subsystem. This includes the number
> --
> 2.42.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-06 22:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-05 19:23 [PATCH] xfs: fix again select in kconfig XFS_ONLINE_SCRUB_STATS Anthony Iliopoulos
2023-11-05 22:51 ` Dave Chinner
2023-11-06 22:27 ` Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox