From: Andreas Dilger Date: Thu, 13 Aug 2015 19:12:49 +0000 (-0600) Subject: LU-7004 utils: defer conf_param deprecation X-Git-Tag: 2.7.58~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1305c503ce158b3a8a65b8f03b54a3f4894c5108;p=fs%2Flustre-release.git LU-7004 utils: defer conf_param deprecation Since there has been relatively little testing of "lctl set_param -P" and the test scripts and documentation have not been converted from using "lctl conf_param" yet, I'm deferring the conf_param deprecation warning to 2.8.53 (essentially 2.9.0) to give time for this change. Signed-off-by: Andreas Dilger Change-Id: I6e879aaf5f9c9e1434f52a7274c663096ceb35b5 Reviewed-on: http://review.whamcloud.com/15979 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Artem Blagodarenko Reviewed-by: James Nunez --- diff --git a/lustre/utils/lustre_cfg.c b/lustre/utils/lustre_cfg.c index 4652f5a..9486ccb 100644 --- a/lustre/utils/lustre_cfg.c +++ b/lustre/utils/lustre_cfg.c @@ -608,7 +608,7 @@ int jt_lcfg_mgsparam(int argc, char **argv) struct lustre_cfg *lcfg; char *buf = NULL; -#if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 7, 53, 0) +#if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 8, 53, 0) fprintf(stderr, "warning: 'lctl conf_param' is deprecated, " "use 'lctl set_param -P' instead\n"); #endif