From 423bdae48e1a0ed602f524ba41a2c83c67f4716a Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Mon, 5 Mar 2018 17:11:25 -0600 Subject: [PATCH] LU-10003 lnet: remove lctl deprecation messages Defer deprecation of these commands for now. Signed-off-by: John L. Hammond Change-Id: I09b97bacded9ac65a8c5df3ba47867a6a19fbf7b Reviewed-on: https://review.whamcloud.com/31534 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Amir Shehata --- lustre/utils/portals.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lustre/utils/portals.c b/lustre/utils/portals.c index 4016388..e544588 100644 --- a/lustre/utils/portals.c +++ b/lustre/utils/portals.c @@ -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 |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; -- 1.8.3.1