Skip to contentSkip to conversation

kill a dead function in lockd

PATCH In review Christoph Hellwig 2 participants 2 messages Feb 27, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kill a dead function in lockd

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

fs/lockd/clntproc.c +0 -13
@@ -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 *
#1 lore raw

På fr , 27/02/2004 klokka 12:56, skreiv Christoph Hellwig:

Quoted 2 lines

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

Agreed. Kill it...

Cheers,
Trond