lockd: simplify two-level sysctl registration for nlm_sysctls
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 08:37:19 +0000 (00:37 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:35 +0000 (11:49 -0700)
commit37b768ce3d23f79cef906aaf7427dd345b57f477
treeebfba13acf8634150b3317158fdbbc6237ace180
parent1dc8689e4cc651e21566e10206a84c4006e81fb1
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.

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