nfs: simplify two-level sysctl registration for nfs_cb_sysctls
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 08:40:35 +0000 (00:40 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:35 +0000 (11:49 -0700)
commita2189b77676b256b6606612fd68ed493f7080929
tree40f61a966edcfe097a8490e03f4a0e78a6b82c9f
parentd2235a705b48a1a86e2b8ea15091d83f7f80503c
nfs: simplify two-level sysctl registration for nfs_cb_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/nfs/sysctl.c