linux-kernel-test/fs/lockd
J. Bruce Fields 64a318ee2a NLM: Further cancel fixes
If the server receives an NLM cancel call and finds no waiting lock to
 cancel, then chances are the lock has already been applied, and the client
 just hadn't yet processed the NLM granted callback before it sent the
 cancel.

 The Open Group text, for example, perimts a server to return either success
 (LCK_GRANTED) or failure (LCK_DENIED) in this case.  But returning an error
 seems more helpful; the client may be able to use it to recognize that a
 race has occurred and to recover from the race.

 So, modify the relevant functions to return an error in this case.

 Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-01-06 14:58:54 -05:00
..
clntlock.c NLM: Fix Oops in nlmclnt_mark_reclaim() 2005-12-19 23:12:31 -05:00
clntproc.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
host.c [PATCH] RPC: remove xprt->nocong 2005-09-23 12:38:47 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mon.c [PATCH] RPC: Make rpc_create_client() probe server for RPC program+version support 2005-06-22 16:07:04 -04:00
svc4proc.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
svc.c SUNRPC: Ensure that SIGKILL will always terminate a synchronous RPC call. 2006-01-06 14:58:45 -05:00
svclock.c NLM: Further cancel fixes 2006-01-06 14:58:54 -05:00
svcproc.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
svcshare.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
svcsubs.c NFS,SUNRPC,NLM: fix unused variable warnings when CONFIG_SYSCTL is disabled 2005-11-04 15:39:48 -05:00
xdr4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xdr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00