xfs: simplify two-level sysctl registration for xfs_table
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 08:42:26 +0000 (00:42 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:35 +0000 (11:49 -0700)
commitf5d2b92c85d420d0020163b9ad153962d8f9fcc7
tree6179f53149a3ae2743aac80bd61a0952c590b0cc
parenta2189b77676b256b6606612fd68ed493f7080929
xfs: simplify two-level sysctl registration for xfs_table

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: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
fs/xfs/xfs_sysctl.c