mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-16 07:57:55 -05:00
NFS: drop __exit from nfs_exit_keyring
Otherwise built-in NFS can lead to sectіon mismatches.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250714062450.1468117-1-hch@lst.de
Fixes: 87268f7a4f ("nfs: create a kernel keyring")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
committed by
Trond Myklebust
parent
f3fc8f0649
commit
c262b444bd
@@ -2663,7 +2663,7 @@ static int __init nfs_init_keyring(void)
|
||||
return PTR_ERR_OR_ZERO(nfs_keyring);
|
||||
}
|
||||
|
||||
static void __exit nfs_exit_keyring(void)
|
||||
static void nfs_exit_keyring(void)
|
||||
{
|
||||
key_put(nfs_keyring);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user