Searched hist:cb55f27a (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/proc/ |
H A D | proc_sysctl.c | cb55f27a Mon Apr 11 00:12:05 CDT 2022 Meng Tang <tangmeng@uniontech.com> fs/proc: Introduce list_for_each_table_entry for proc sysctl
Use the list_for_each_table_entry macro to optimize the scenario of traverse ctl_table. This make the code neater and easier to understand.
Suggested-by: Davidlohr Bueso<dave@stgolabs.net> Signed-off-by: Meng Tang <tangmeng@uniontech.com> [updated the sysctl_check_table() hunk due to some changes upstream] Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
|