mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kill a dead function in lockd
@ 2004-02-27 20:56 Christoph Hellwig
  2004-02-27 21:02 ` Trond Myklebust
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2004-02-27 20:56 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-kernel

sleep_on hurts my eyes and this offender is compltely unused, so..


--- 1.8/fs/lockd/clntproc.c	Fri Feb  7 21:25:20 2003
+++ edited/fs/lockd/clntproc.c	Fri Feb 27 22:35:15 2004
@@ -195,19 +195,6 @@
 }
 
 /*
- * 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 *

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-27 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-27 20:56 [PATCH] kill a dead function in lockd Christoph Hellwig
2004-02-27 21:02 ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®