Skip to content
Snippets Groups Projects
Commit 526bdbe9 authored by Eric Mei's avatar Eric Mei
Browse files

branch: HEAD

change proc entry name srpc.xxx to srpc_xxx to satisfy 'lctl get_param'.
b=14471
r=wangdi
parent 4102e149
No related branches found
No related tags found
No related merge requests found
......@@ -159,18 +159,18 @@ int sptlrpc_lprocfs_cliobd_attach(struct obd_device *dev)
return -EINVAL;
}
rc = lprocfs_obd_seq_create(dev, "srpc.info", 0444,
rc = lprocfs_obd_seq_create(dev, "srpc_info", 0444,
&sptlrpc_info_lprocfs_fops, dev);
if (rc) {
CERROR("create proc entry srpc.info for %s: %d\n",
CERROR("create proc entry srpc_info for %s: %d\n",
dev->obd_name, rc);
return rc;
}
rc = lprocfs_obd_seq_create(dev, "srpc.contexts", 0444,
rc = lprocfs_obd_seq_create(dev, "srpc_contexts", 0444,
&sptlrpc_ctxs_lprocfs_fops, dev);
if (rc) {
CERROR("create proc entry srpc.contexts for %s: %d\n",
CERROR("create proc entry srpc_contexts for %s: %d\n",
dev->obd_name, rc);
return rc;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment