Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

CIFS: Remove __exit mark from cifs_exit_dns_resolver()

Remove the __exit mark from cifs_exit_dns_resolver() as it's called by the
module init routine in case of error, and so may have been discarded during
linkage.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

David Howells and committed by
Linus Torvalds
51c20fcc a2dccdb2

+2 -2
+1 -1
fs/cifs/dns_resolve.c
··· 227 227 return ret; 228 228 } 229 229 230 - void __exit cifs_exit_dns_resolver(void) 230 + void cifs_exit_dns_resolver(void) 231 231 { 232 232 key_revoke(dns_resolver_cache->thread_keyring); 233 233 unregister_key_type(&key_type_dns_resolver);
+1 -1
fs/cifs/dns_resolve.h
··· 25 25 26 26 #ifdef __KERNEL__ 27 27 extern int __init cifs_init_dns_resolver(void); 28 - extern void __exit cifs_exit_dns_resolver(void); 28 + extern void cifs_exit_dns_resolver(void); 29 29 extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr); 30 30 #endif /* KERNEL */ 31 31