mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-24 03:15:59 +00:00
fsverity update for 6.10
Fix a false positive kmemleak warning. -----BEGIN PGP SIGNATURE----- iIoEABYIADIWIQSacvsUNc7UX4ntmEPzXCl4vpKOKwUCZkOS0RQcZWJpZ2dlcnNA Z29vZ2xlLmNvbQAKCRDzXCl4vpKOK/M0AQDHNgN4E6AByU1OPKNr/nrHw0/EYVKu vNxPFirF/NIw0AEA4GC7d1lfsddIJ9oA/oWdcb2/Noz83N8MIgdlLEoKvQI= =YqCa -----END PGP SIGNATURE----- Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux Pull fsverity update from Eric Biggers: "Fix a false positive kmemleak warning" * tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux: fsverity: use register_sysctl_init() to avoid kmemleak warning
This commit is contained in:
commit
b47c18232a
1 changed files with 1 additions and 6 deletions
|
@ -10,8 +10,6 @@
|
|||
#include <linux/ratelimit.h>
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
static struct ctl_table_header *fsverity_sysctl_header;
|
||||
|
||||
static struct ctl_table fsverity_sysctl_table[] = {
|
||||
#ifdef CONFIG_FS_VERITY_BUILTIN_SIGNATURES
|
||||
{
|
||||
|
@ -28,10 +26,7 @@ static struct ctl_table fsverity_sysctl_table[] = {
|
|||
|
||||
static void __init fsverity_init_sysctl(void)
|
||||
{
|
||||
fsverity_sysctl_header = register_sysctl("fs/verity",
|
||||
fsverity_sysctl_table);
|
||||
if (!fsverity_sysctl_header)
|
||||
panic("fsverity sysctl registration failed");
|
||||
register_sysctl_init("fs/verity", fsverity_sysctl_table);
|
||||
}
|
||||
#else /* CONFIG_SYSCTL */
|
||||
static inline void fsverity_init_sysctl(void)
|
||||
|
|
Loading…
Reference in a new issue