summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2024-06-04 09:29:22 +0300
committerJoel Granados <j.granados@samsung.com>2024-06-13 11:50:52 +0300
commit55bb7eb62db4995cec7e309c2b9a1070cfd60eb6 (patch)
treee4fb510caa3582ab42d6133a489860ca481096a4 /rust/helpers/task.c
parentd7a76ec87195ced6910b0ca10ca133bb316c90f5 (diff)
downloadlinux-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