driver: made UNLOCK upcalls uninterruptible
connectathon locking tests trigger an interrupted UNLOCK upcall, which leads to the bugcheck in CloseSrvOpen() when freeing the security context Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
c29710b47d
commit
19867b892f
1 changed files with 4 additions and 1 deletions
|
|
@ -1253,9 +1253,12 @@ NTSTATUS nfs41_UpcallWaitForReply(
|
|||
* For now, I'm making CLOSE non-interruptable but keeping the rest interruptable
|
||||
* so that we don't have to reboot all the time
|
||||
*/
|
||||
/* 02/15/2011 cbodley: added NFS41_UNLOCK for the same reason. locking
|
||||
* tests were triggering an interrupted unlock, which led to a bugcheck
|
||||
* in CloseSrvOpen() */
|
||||
#define MAKE_WAITONCLOSE_NONITERRUPTABLE
|
||||
#ifdef MAKE_WAITONCLOSE_NONITERRUPTABLE
|
||||
if (entry->opcode == NFS41_CLOSE)
|
||||
if (entry->opcode == NFS41_CLOSE || entry->opcode == NFS41_UNLOCK)
|
||||
status = KeWaitForSingleObject(&entry->cond, Executive,
|
||||
KernelMode, FALSE, NULL);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue