Skip to content

Commit

Permalink
proc/sysctl: fix function name error in comments
Browse files Browse the repository at this point in the history
The function name should be modified to register_sysctl_paths instead of
register_sysctl_table_path.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: zhouchuangao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
zhouchuangao authored and torvalds committed May 7, 2021
1 parent 268af17 commit 5b31a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/proc/proc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,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
*
Expand Down

0 comments on commit 5b31a7d

Please sign in to comment.