/* The following procedures deal with the recovery of locks after a server crash. Reclaim all locks on server host. We do this by spawning a separate reclaimer thread.  */
void nlmclnt_recovery(struct nlm_host *host)
/* The following procedures deal with the recovery of locks after a server crash. Reclaim all locks on server host. We do this by spawning a separate reclaimer thread.  */
void nlmclnt_recovery(struct nlm_host *host)
{
	struct task_struct *task;
	if (!host->h_reclaiming++) {
		nlm_get_host(host);
		task = kthread_run(reclaimer, host, "%s-reclaim", host->h_name);
		if (IS_ERR(task))
			printk(KERN_ERR "lockd: unable to spawn reclaimer "
				"thread. Locks for %s won't be reclaimed! "
				"(%ld)\n", host->h_name, PTR_ERR(task));
	}
}