doc: correcting the debug path for cachefiles
authorHongbo Li <lihongbo22@huawei.com>
Tue, 22 Oct 2024 01:38:12 +0000 (09:38 +0800)
committerChristian Brauner <brauner@kernel.org>
Thu, 24 Oct 2024 11:50:27 +0000 (13:50 +0200)
The original debug path is under "/sys/modules", that's
wrong. The real path in kernel is "/sys/module". So we
can correct it.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20241022013812.2880883-1-lihongbo22@huawei.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/caching/cachefiles.rst

index e04a27b..b3ccc78 100644 (file)
@@ -115,7 +115,7 @@ set up cache ready for use.  The following script commands are available:
 
        This mask can also be set through sysfs, eg::
 
-               echo 5 >/sys/modules/cachefiles/parameters/debug
+               echo 5 > /sys/module/cachefiles/parameters/debug
 
 
 Starting the Cache