]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
netfs: clean up after renaming FSCACHE_DEBUG config
authorLukas Bulwahn <lukas.bulwahn@redhat.com>
Wed, 31 Jul 2024 07:39:02 +0000 (09:39 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Aug 2024 20:03:26 +0000 (22:03 +0200)
Commit 6b8e61472529 ("netfs: Rename CONFIG_FSCACHE_DEBUG to
CONFIG_NETFS_DEBUG") renames the config, but introduces two issues: First,
NETFS_DEBUG mistakenly depends on the non-existing config NETFS, whereas
the actual intended config is called NETFS_SUPPORT. Second, the config
renaming misses to adjust the documentation of the functionality of this
config.

Clean up those two points.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Link: https://lore.kernel.org/r/20240731073902.69262-1-lukas.bulwahn@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/caching/fscache.rst
fs/netfs/Kconfig

index a74d7b052dc1305a8adbcd374438327605e92fb8..de1f32526cc1c4c9c65af2bde0da200ec42c4d98 100644 (file)
@@ -318,10 +318,10 @@ where the columns are:
 Debugging
 =========
 
-If CONFIG_FSCACHE_DEBUG is enabled, the FS-Cache facility can have runtime
-debugging enabled by adjusting the value in::
+If CONFIG_NETFS_DEBUG is enabled, the FS-Cache facility and NETFS support can
+have runtime debugging enabled by adjusting the value in::
 
-       /sys/module/fscache/parameters/debug
+       /sys/module/netfs/parameters/debug
 
 This is a bitmask of debugging streams to enable:
 
@@ -343,6 +343,6 @@ This is a bitmask of debugging streams to enable:
 The appropriate set of values should be OR'd together and the result written to
 the control file.  For example::
 
-       echo $((1|8|512)) >/sys/module/fscache/parameters/debug
+       echo $((1|8|512)) >/sys/module/netfs/parameters/debug
 
 will turn on all function entry debugging.
index 1b78e8b65ebc142d0ff226ec1f65a37d6b3349c6..7701c037c3283f27e830a49483ce377c8a802538 100644 (file)
@@ -24,7 +24,7 @@ config NETFS_STATS
 
 config NETFS_DEBUG
        bool "Enable dynamic debugging netfslib and FS-Cache"
-       depends on NETFS
+       depends on NETFS_SUPPORT
        help
          This permits debugging to be dynamically enabled in the local caching
          management module.  If this is set, the debugging output may be