making upcall_marshal void
This commit is contained in:
parent
a57e7a78f1
commit
7527c022a1
3 changed files with 3 additions and 4 deletions
|
|
@ -116,7 +116,7 @@ write_downcall:
|
||||||
inbuf_len = UPCALL_BUF_SIZE;
|
inbuf_len = UPCALL_BUF_SIZE;
|
||||||
|
|
||||||
inbuf = malloc(inbuf_len);
|
inbuf = malloc(inbuf_len);
|
||||||
status = upcall_marshall(&upcall, inbuf, (uint32_t)inbuf_len, (uint32_t*)&outbuf_len);
|
upcall_marshall(&upcall, inbuf, (uint32_t)inbuf_len, (uint32_t*)&outbuf_len);
|
||||||
|
|
||||||
dprintf(2, "making a downcall: outbuf_len %ld\n\n", outbuf_len);
|
dprintf(2, "making a downcall: outbuf_len %ld\n\n", outbuf_len);
|
||||||
status = DeviceIoControl(pipe, IOCTL_NFS41_WRITE,
|
status = DeviceIoControl(pipe, IOCTL_NFS41_WRITE,
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ out:
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
int upcall_marshall(
|
void upcall_marshall(
|
||||||
IN nfs41_upcall *upcall,
|
IN nfs41_upcall *upcall,
|
||||||
OUT unsigned char *buffer,
|
OUT unsigned char *buffer,
|
||||||
IN uint32_t length,
|
IN uint32_t length,
|
||||||
|
|
@ -164,7 +164,6 @@ write_downcall:
|
||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
*length_out = total - length;
|
*length_out = total - length;
|
||||||
return status;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void upcall_cancel(
|
void upcall_cancel(
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,7 @@ int upcall_parse(
|
||||||
int upcall_handle(
|
int upcall_handle(
|
||||||
IN nfs41_upcall *upcall);
|
IN nfs41_upcall *upcall);
|
||||||
|
|
||||||
int upcall_marshall(
|
void upcall_marshall(
|
||||||
IN nfs41_upcall *upcall,
|
IN nfs41_upcall *upcall,
|
||||||
OUT unsigned char *buffer,
|
OUT unsigned char *buffer,
|
||||||
IN uint32_t length,
|
IN uint32_t length,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue