Whamcloud - gitweb
LU-10003 lnet: remove lctl deprecation messages 34/31534/3
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 5 Mar 2018 23:11:25 +0000 (17:11 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 8 Mar 2018 17:36:04 +0000 (17:36 +0000)
Defer deprecation of these commands for now.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I09b97bacded9ac65a8c5df3ba47867a6a19fbf7b
Reviewed-on: https://review.whamcloud.com/31534
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
lustre/utils/portals.c

index 4016388..e544588 100644 (file)
@@ -299,9 +299,6 @@ int jt_ptl_network(int argc, char **argv)
        __u32 net = LNET_NIDNET(LNET_NID_ANY);
        int rc;
 
-       fprintf(stderr, "lctl %s: has been deprecated. Please use "
-                       "'lnetctl net'\n", argv[0]);
-
        if (argc != 2) {
                fprintf(stderr, "usage: %s <net>|up|down\n", argv[0]);
                return -1;
@@ -360,9 +357,6 @@ jt_ptl_list_nids(int argc, char **argv)
         int                      count;
         int                      rc;
 
-       fprintf(stderr, "lctl %s: has been deprecated. Please use "
-                       "'lnetctl net show'\n", argv[0]);
-
         all = (argc == 2) && (strcmp(argv[1], "all") == 0);
         /* Hack to pass back value */
         return_nid = (argc == 2) && (argv[1][0] == 1);
@@ -924,9 +918,6 @@ int jt_ptl_ping(int argc, char **argv)
         char                    *sep;
         int                      i;
 
-       fprintf(stderr, "lctl %s: has been deprecated. Please use "
-                       "'lnetctl ping'\n", argv[0]);
-
         if (argc < 2) {
                 fprintf(stderr, "usage: %s id [timeout (secs)]\n", argv[0]);
                 return 0;
@@ -1232,9 +1223,6 @@ jt_ptl_print_routes (int argc, char **argv)
        int                       alive;
        unsigned int              pri;
 
-       fprintf(stderr, "lctl %s: has been deprecated. Please use "
-                       "'lnetctl route show'\n", argv[0]);
-
        for (index = 0; ; index++) {
                LIBCFS_IOC_INIT_V2(data, cfg_hdr);
                data.cfg_count = index;