mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02: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:
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user