lockd: simplify two-level sysctl registration for nlm_sysctls
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 22:58:40 +0000 (14:58 -0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 11 Apr 2023 14:18:18 +0000 (10:18 -0400)
commitc1d889cf99b8f9b548f45d0d15b7d4108bbc715f
treebd81ff4156e125e9fa13f109b5f78d445e7e1344
parent40882deb83c29d8df4470d4e5e7f137b6acf7ad1
lockd: simplify two-level sysctl registration for nlm_sysctls

There is no need to declare two tables to just create directories,
this can be easily be done with a prefix path with register_sysctl().

Simplify this registration.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/lockd/svc.c