[PATCH] proc/sysctl: Fix function name error in comments

From: zhouchuangao
Date: Mon Mar 15 2021 - 07:21:00 EST


The function name should be modified to register_sysctl_paths instead
of register_sysctl_table_path.

Signed-off-by: zhouchuangao <zhouchuangao@xxxxxxxx>
---
fs/proc/proc_sysctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index 984e42f..f026a48 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -1562,7 +1562,7 @@ struct ctl_table_header *__register_sysctl_paths(
}

/**
- * 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
*
--
2.7.4