/* A thread that wants to hold a reference to a module only while it is running can call this to safely exit. nfsd and lockd use this.  */
void __module_put_and_exit(struct module *mod, long code)
/* A thread that wants to hold a reference to a module only while it is running can call this to safely exit. nfsd and lockd use this.  */
void __module_put_and_exit(struct module *mod, long code)
{
	module_put(mod);
	do_exit(code);
}