SUNRPC: display human-readable procedure name in rpc_iostats output
[linux-2.6.git] / fs / nfsd / nfs4callback.c
index d828662d737d22569c78fefec1623409f520cb9c..4f391cbf2fd1ce1a10b542b70630249d5561da50 100644 (file)
@@ -326,6 +326,8 @@ out:
         .p_encode = (kxdrproc_t) nfs4_xdr_##argtype,                    \
         .p_decode = (kxdrproc_t) nfs4_xdr_##restype,                    \
         .p_bufsiz = MAX(NFS4_##argtype##_sz,NFS4_##restype##_sz) << 2,  \
+        .p_statidx = NFSPROC4_CB_##call,                               \
+       .p_name   = #proc,                                              \
 }
 
 static struct rpc_procinfo     nfs4_cb_procedures[] = {