fs-verity: simplify sysctls with register_sysctl()
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 2 Mar 2023 20:28:24 +0000 (12:28 -0800)
committerEric Biggers <ebiggers@google.com>
Tue, 28 Mar 2023 04:17:02 +0000 (21:17 -0700)
commit1238c8b91c5aca6dd13bccb1b4dc716718e7bfac
tree4f1cda8282ee8dd6e0fcd4c77d31ad71dd9ccbfb
parent8b7d3fe96881e0f13c0176812b40432558882023
fs-verity: simplify sysctls with register_sysctl()

register_sysctl_paths() is only needed if your child (directories) have
entries but this does not so just use register_sysctl() so to do away
with the path specification.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20230302202826.776286-10-mcgrof@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/verity/signature.c