upcall: added upcall_cleanup() to interface
added call to upcall_cleanup() after both upcall_marshall() and upcall_cancel() individual upcall operations define their nfs41_upcall_op structs locally, instead of putting tons of function prototypes in upcall.c made the upcall_marshall() function optional; most marshall functions are noops Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
7e7f73766d
commit
ae4c67c21e
12 changed files with 189 additions and 166 deletions
|
|
@ -125,9 +125,9 @@ write_downcall:
|
|||
if (!status) {
|
||||
eprintf("IOCTL_NFS41_WRITE failed with %d xid=%d opcode=%s\n",
|
||||
GetLastError(), upcall.xid, opcode2string(upcall.opcode));
|
||||
status = upcall_cancel(&upcall);
|
||||
continue;
|
||||
upcall_cancel(&upcall);
|
||||
}
|
||||
upcall_cleanup(&upcall);
|
||||
}
|
||||
CloseHandle(pipe);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue