aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-07-14 08:24:50 +0200
committerTrond Myklebust <trond.myklebust@hammerspace.com>2025-07-22 08:10:17 -0400
commitc262b444bd0d6bfbcda65130e6137952bef422f6 (patch)
tree19cc3164ea6c72ea97870e605919d9d17c4ccd9c
parentNFS: pass struct nfs_client_initdata to nfs4_set_client (diff)
downloadlinux-c262b444bd0d6bfbcda65130e6137952bef422f6.tar.gz
linux-c262b444bd0d6bfbcda65130e6137952bef422f6.zip
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: 87268f7a4f1f ("nfs: create a kernel keyring") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 60fa0c8ff04e..338ef77ae423 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -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);
}