static inline int nfs3_rpc_call_wrapper(struct rpc_clnt *clnt, u32 proc, void *argp, void *resp, int flags) { struct rpc_message msg = { .rpc_proc = &nfs3_procedures[proc], .rpc_argp = argp, .rpc_resp = resp, }; return nfs3_rpc_wrapper(clnt, &msg, flags); }
static inline int nfs3_rpc_call_wrapper(struct rpc_clnt *clnt, u32 proc, void *argp, void *resp, int flags) { struct rpc_message msg = { proc, argp, resp, NULL }; return nfs3_rpc_wrapper(clnt, &msg, flags); }