]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
md: simplify sysctl registration
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 2 Mar 2023 20:46:09 +0000 (12:46 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:20 +0000 (11:49 -0700)
commit9adcf9d3d5c9ed6bb9d493b59594501f79ae3bed
tree55cbb5400fadbb961d7968aa1c19dfce8700fe34
parent525f23fe58b59b3a78a7044916aed9fe26918296
md: simplify sysctl registration

register_sysctl_table() is a deprecated compatibility wrapper.
register_sysctl() can do the directory creation for you so just use
that.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Acked-by: Song Liu <song@kernel.org>
drivers/md/md.c