repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c985c01
)
rpc_nfs_create_async, args is now a pointer, not a structur
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 12 Jan 2012 04:56:02 +0000
(15:56 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 12 Jan 2012 04:56:02 +0000
(15:56 +1100)
so we shouldnt take the address of it
nfs/nfs.c
patch
|
blob
|
blame
|
history
diff --git
a/nfs/nfs.c
b/nfs/nfs.c
index 59452521f9eaf570d893943e6b92371e9d7739b0..ccbd2c1699b87036fc3bfd2f88073ae00cc5fcba 100644
(file)
--- a/
nfs/nfs.c
+++ b/
nfs/nfs.c
@@
-421,7
+421,7
@@
int rpc_nfs_create_async(struct rpc_context *rpc, rpc_cb cb, CREATE3args *args,
return -1;
}
- if (xdr_CREATE3args(&pdu->xdr,
&
args) == 0) {
+ if (xdr_CREATE3args(&pdu->xdr, args) == 0) {
rpc_set_error(rpc, "XDR error: Failed to encode CREATE3args");
rpc_free_pdu(rpc, pdu);
return -2;