diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sunrpc/clnt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index 17a46b575ba0..713cb3f4ea7e 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h @@ -130,7 +130,12 @@ void rpc_setbufsize(struct rpc_clnt *, unsigned int, unsigned int); static __inline__ int rpc_call(struct rpc_clnt *clnt, u32 proc, void *argp, void *resp, int flags) { - struct rpc_message msg = { proc, argp, resp, NULL }; + struct rpc_message msg = { + .rpc_proc = proc, + .rpc_argp = argp, + .rpc_resp = resp, + .rpc_cred = NULL + }; return rpc_call_sync(clnt, &msg, flags); } |
