Re: [PATCH v2 03/18] sysctl: drop sysctl_is_perm_empty_ctl_table

2023-12-07 Thread Joel Granados
If you are separating the work for permanently empty directories, you can add this patch to that set. as well as 2/18 Best On Mon, Dec 04, 2023 at 08:52:16AM +0100, Thomas Weißschuh wrote: > It is used only once and that caller would be simpler with > sysctl_is_perm_empty_ctl_header(). > So use t

[PATCH v2 03/18] sysctl: drop sysctl_is_perm_empty_ctl_table

2023-12-03 Thread Thomas Weißschuh
It is used only once and that caller would be simpler with sysctl_is_perm_empty_ctl_header(). So use this sibling function. Signed-off-by: Thomas Weißschuh --- fs/proc/proc_sysctl.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sys