dont call upcall_cleanup if versions were mismatched

This commit is contained in:
Olga Kornievskaia 2011-04-27 16:47:40 -04:00
parent a173395b5a
commit 3a69a29ff6
3 changed files with 4 additions and 4 deletions

View file

@ -144,7 +144,8 @@ write_downcall:
GetLastError(), upcall.xid, opcode2string(upcall.opcode));
upcall_cancel(&upcall);
}
upcall_cleanup(&upcall);
if (upcall.status != NFSD_VERSION_MISMATCH)
upcall_cleanup(&upcall);
}
CloseHandle(pipe);