]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
NFS: drop __exit from nfs_exit_keyring
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Jul 2025 06:24:50 +0000 (08:24 +0200)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 Jul 2025 12:10:17 +0000 (08:10 -0400)
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: 87268f7a4f1f ("nfs: create a kernel keyring")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/inode.c

index 60fa0c8ff04e5d087205376a5723bb9b092fbc6b..338ef77ae4230812b198dcce47ffeab5f5b2b40e 100644 (file)
@@ -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);
 }