summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorzhouchuangao <zhouchuangao@vivo.com>2021-05-07 04:02:24 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-07 05:24:11 +0300
commit5b31a7dfa35098a8c331b47fe4869282597df89f (patch)
treeb83889140902d4c85208d71d6c87d158f188e23f /fs
parent268af17ada5855a9b703995125a9920ac117b56b (diff)
downloadlinux-5b31a7dfa35098a8c331b47fe4869282597df89f.tar.xz
proc/sysctl: fix function name error in comments
The function name should be modified to register_sysctl_paths instead of register_sysctl_table_path. Link: https://lkml.kernel.org/r/1615807194-79646-1-git-send-email-zhouchuangao@vivo.com Signed-off-by: zhouchuangao <zhouchuangao@vivo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/proc_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index 66c7dd11bd7c..dea0f5ee540c 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -1563,7 +1563,7 @@ err_register_leaves:
}
/**
- * register_sysctl_table_path - register a sysctl table hierarchy
+ * register_sysctl_paths - register a sysctl table hierarchy
* @path: The path to the directory the sysctl table is in.
* @table: the top-level table structure
*