Whamcloud - gitweb
branch: HEAD
authorericm <ericm>
Wed, 17 Sep 2008 15:35:56 +0000 (15:35 +0000)
committerericm <ericm>
Wed, 17 Sep 2008 15:35:56 +0000 (15:35 +0000)
change proc entry name srpc.xxx to srpc_xxx to satisfy 'lctl get_param'.
b=14471
r=wangdi

lustre/ptlrpc/sec_lproc.c

index e66524b..51bace7 100644 (file)
@@ -159,18 +159,18 @@ int sptlrpc_lprocfs_cliobd_attach(struct obd_device *dev)
                 return -EINVAL;
         }
 
                 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) {
                                     &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;
         }
 
                        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) {
                                     &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;
         }
                        dev->obd_name, rc);
                 return rc;
         }