nfs: simplify two-level sysctl registration for nfs4_cb_sysctls
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 08:39:18 +0000 (00:39 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:35 +0000 (11:49 -0700)
commitd2235a705b48a1a86e2b8ea15091d83f7f80503c
treea8a8bbb2c7cfecc68cb28bcc00800a0187f10c7a
parent37b768ce3d23f79cef906aaf7427dd345b57f477
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.

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