Skip to content

Commit c262b44

Browse files
Christoph HellwigTrond Myklebust
authored andcommitted
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: 87268f7 ("nfs: create a kernel keyring") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
1 parent f3fc8f0 commit c262b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfs/inode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2663,7 +2663,7 @@ static int __init nfs_init_keyring(void)
26632663
return PTR_ERR_OR_ZERO(nfs_keyring);
26642664
}
26652665

2666-
static void __exit nfs_exit_keyring(void)
2666+
static void nfs_exit_keyring(void)
26672667
{
26682668
key_put(nfs_keyring);
26692669
}

0 commit comments

Comments
 (0)