diff options
author | Joel Granados <j.granados@samsung.com> | 2024-06-04 09:29:22 +0300 |
---|---|---|
committer | Joel Granados <j.granados@samsung.com> | 2024-06-13 11:50:52 +0300 |
commit | 55bb7eb62db4995cec7e309c2b9a1070cfd60eb6 (patch) | |
tree | e4fb510caa3582ab42d6133a489860ca481096a4 /rust/helpers/task.c | |
parent | d7a76ec87195ced6910b0ca10ca133bb316c90f5 (diff) | |
download | linux-55bb7eb62db4995cec7e309c2b9a1070cfd60eb6.tar.xz |
sysctl: Replace nr_entries with ctl_table_size in new_links
The number of ctl_table entries (nr_entries) calculation was previously
based on the ctl_table_size and the sentinel element. Since the
sentinels have been removed, we remove the calculation and just use the
ctl_table_size from the ctl_table_header.
Signed-off-by: Joel Granados <j.granados@samsung.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions