nfs: simplify two-level sysctl registration for nfs4_cb_sysctls
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 22:58:41 +0000 (14:58 -0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 11 Apr 2023 14:18:18 +0000 (10:18 -0400)
commita2183160ca7e2bcb210954ad69d7cbf012fea0f1
treeee0c9c06b059dd9b998ed410562a428281f67511
parentc1d889cf99b8f9b548f45d0d15b7d4108bbc715f
nfs: simplify two-level sysctl registration for nfs4_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.

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/nfs/nfs4sysctl.c