Skip to content

Commit 889ced4

Browse files
bulwahnbrauner
authored andcommitted
netfs: clean up after renaming FSCACHE_DEBUG config
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 64a7ce7 commit 889ced4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Documentation/filesystems/caching/fscache.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,10 @@ where the columns are:
318318
Debugging
319319
=========
320320

321-
If CONFIG_FSCACHE_DEBUG is enabled, the FS-Cache facility can have runtime
322-
debugging enabled by adjusting the value in::
321+
If CONFIG_NETFS_DEBUG is enabled, the FS-Cache facility and NETFS support can
322+
have runtime debugging enabled by adjusting the value in::
323323

324-
/sys/module/fscache/parameters/debug
324+
/sys/module/netfs/parameters/debug
325325

326326
This is a bitmask of debugging streams to enable:
327327

@@ -343,6 +343,6 @@ This is a bitmask of debugging streams to enable:
343343
The appropriate set of values should be OR'd together and the result written to
344344
the control file. For example::
345345

346-
echo $((1|8|512)) >/sys/module/fscache/parameters/debug
346+
echo $((1|8|512)) >/sys/module/netfs/parameters/debug
347347

348348
will turn on all function entry debugging.

fs/netfs/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ config NETFS_STATS
2424

2525
config NETFS_DEBUG
2626
bool "Enable dynamic debugging netfslib and FS-Cache"
27-
depends on NETFS
27+
depends on NETFS_SUPPORT
2828
help
2929
This permits debugging to be dynamically enabled in the local caching
3030
management module. If this is set, the debugging output may be

0 commit comments

Comments
 (0)