Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-3789 mgs: Add deprecation warning for "lctl conf_param"
[fs/lustre-release.git]
/
lustre
/
utils
/
lustre_cfg.c
diff --git
a/lustre/utils/lustre_cfg.c
b/lustre/utils/lustre_cfg.c
index
016ae70
..
1c9ed42
100644
(file)
--- a/
lustre/utils/lustre_cfg.c
+++ b/
lustre/utils/lustre_cfg.c
@@
-582,6
+582,11
@@
int jt_lcfg_mgsparam(int argc, char **argv)
struct lustre_cfg *lcfg;
char *buf = NULL;
struct lustre_cfg *lcfg;
char *buf = NULL;
+#if LUSTRE_VERSION >= OBD_OCD_VERSION(2,7,53,0)
+ fprintf(stderr, "warning: 'lctl conf_param' is deprecated, "
+ "use 'lctl set_param -P' instead\n");
+#endif
+
/* mgs_setparam processes only lctl buf #1 */
if ((argc > 3) || (argc <= 1))
return CMD_HELP;
/* mgs_setparam processes only lctl buf #1 */
if ((argc > 3) || (argc <= 1))
return CMD_HELP;