diff options
author | Joel Granados <joel.granados@gmail.com> | 2023-08-09 12:49:56 +0200 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-08-15 15:26:17 -0700 |
commit | b1f01e2baefc5dbe240bbf529a813b452c064204 (patch) | |
tree | fe58aca3223fdfa72028f0fcd2a63bece7161079 /net/unix/sysctl_net_unix.c | |
parent | 1e887723545e037b5e200e77edf79802f58fc818 (diff) |
sysctl: Add size argument to init_header
In this commit, we add a table_size argument to the init_header function
in order to initialize the ctl_table_size variable in ctl_table_header.
Even though the size is not yet used, it is now initialized within the
sysctl subsys. We need this commit for when we start adding the
table_size arguments to the sysctl functions (e.g. register_sysctl,
__register_sysctl_table and __register_sysctl_init).
Note that in __register_sysctl_table we temporarily use a calculated
size until we add the size argument to that function in subsequent
commits.
Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions