From: Christoph Hellwig sleep_on hurts my eyes and this offender is compltely unused, so.. --- 25-akpm/fs/lockd/clntproc.c | 13 ------------- 1 files changed, 13 deletions(-) diff -puN fs/lockd/clntproc.c~remove-nlmclnt_grace_wait fs/lockd/clntproc.c --- 25/fs/lockd/clntproc.c~remove-nlmclnt_grace_wait Fri Feb 27 15:53:14 2004 +++ 25-akpm/fs/lockd/clntproc.c Fri Feb 27 15:53:14 2004 @@ -195,19 +195,6 @@ done: } /* - * Wait while server is in grace period - */ -static inline int -nlmclnt_grace_wait(struct nlm_host *host) -{ - if (!host->h_reclaiming) - interruptible_sleep_on_timeout(&host->h_gracewait, 10*HZ); - else - interruptible_sleep_on(&host->h_gracewait); - return signalled()? -ERESTARTSYS : 0; -} - -/* * Allocate an NLM RPC call struct */ struct nlm_rqst * _