]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
bcachefs: Fix MEAN_AND_VARIANCE kconfig options
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 31 Oct 2023 16:29:58 +0000 (12:29 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 4 Nov 2023 18:17:11 +0000 (14:17 -0400)
Fixes:

https://lore.kernel.org/linux-bcachefs/CAMuHMdXpwMdLuoWsNGa8qacT_5Wv-vSTz0xoBR5n_fnD9cNOuQ@mail.gmail.com/

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/Kconfig

index df13a4f9a6e30fdc43c9f5f4038996d00164bc98..87dc2e934ad7c81d5465a3f5da9a27d66733d2c6 100644 (file)
@@ -24,7 +24,6 @@ config BCACHEFS_FS
        select XXHASH
        select SRCU
        select SYMBOLIC_ERRNAME
-       select MEAN_AND_VARIANCE
        help
        The bcachefs filesystem - a modern, copy on write filesystem, with
        support for multiple devices, compression, checksumming, etc.
@@ -78,7 +77,7 @@ config BCACHEFS_NO_LATENCY_ACCT
 config MEAN_AND_VARIANCE_UNIT_TEST
        tristate "mean_and_variance unit tests" if !KUNIT_ALL_TESTS
        depends on KUNIT
-       select MEAN_AND_VARIANCE
+       depends on BCACHEFS_FS
        default KUNIT_ALL_TESTS
        help
          This option enables the kunit tests for mean_and_variance module.