kernel-ark/fs/lockd
J. Bruce Fields 5996a298da NLM: don't unlock on cancel requests
Currently when lockd gets an NLM_CANCEL request, it also does an unlock for
 the same range.  This is incorrect.

 The Open Group documentation says that "This procedure cancels an
 *outstanding* blocked lock request."  (Emphasis mine.)

 Also, consider a client that holds a lock on the first byte of a file, and
 requests a lock on the entire file.  If the client cancels that request
 (perhaps because the requesting process is signalled), the server shouldn't
 apply perform an unlock on the entire file, since that will also remove the
 previous lock that the client was already granted.

 Or consider a lock request that actually *downgraded* an exclusive lock to
 a shared lock.

 Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-01-06 14:58:53 -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: don't unlock on cancel requests 2006-01-06 14:58:53 -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