]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/lockd/xdr4.c
SUNRPC: display human-readable procedure name in rpc_iostats output
[karo-tx-linux.git] / fs / lockd / xdr4.c
index 906ddc203186a2827417808d07df3d773ebeea55..36eb175ec3356c23b4d9bab42ffe23945266904f 100644 (file)
@@ -551,7 +551,9 @@ nlm4clt_decode_res(struct rpc_rqst *req, u32 *p, struct nlm_res *resp)
        .p_proc      = NLMPROC_##proc,                                  \
        .p_encode    = (kxdrproc_t) nlm4clt_encode_##argtype,           \
        .p_decode    = (kxdrproc_t) nlm4clt_decode_##restype,           \
-       .p_bufsiz    = MAX(NLM4_##argtype##_sz, NLM4_##restype##_sz) << 2       \
+       .p_bufsiz    = MAX(NLM4_##argtype##_sz, NLM4_##restype##_sz) << 2,      \
+       .p_statidx   = NLMPROC_##proc,                                  \
+       .p_name      = #proc,                                           \
        }
 
 static struct rpc_procinfo     nlm4_procedures[] = {