fs/cachefiles: simplify one-level sysctl registration for cachefiles_sysctls
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 21:46:23 +0000 (13:46 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:35 +0000 (11:49 -0700)
commit3d379b8d0de0492e86b93a1b8cd07403825fe23d
treeb3477ef43fefd717f79c8696de6639219f49da46
parentf5d2b92c85d420d0020163b9ad153962d8f9fcc7
fs/cachefiles: simplify one-level sysctl registration for cachefiles_sysctls

There is no need to declare an extra tables to just create directory,
this can be easily be done with a prefix path with register_sysctl().

Simplify this registration.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
fs/cachefiles/error_inject.c