]> git.dujemihanovic.xyz Git - linux.git/commit
nfs: simplify two-level sysctl registration for nfs_cb_sysctls
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 22:58:42 +0000 (14:58 -0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 11 Apr 2023 14:18:18 +0000 (10:18 -0400)
commit39724217447fc3b3ca76ff6fd5086e26165ba6d8
tree597376d7a937742e1f69f34252b43471e98a796c
parenta2183160ca7e2bcb210954ad69d7cbf012fea0f1
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.

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/sysctl.c