From: Amir Shehata Date: Tue, 4 Nov 2014 21:29:06 +0000 (-0800) Subject: LU-5848 lnet: fix inconsistent seq_no names X-Git-Tag: 2.6.91~83 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=59075df3506f00c847acc3e0da929c41bfcdc19e;hp=c1860dd4274873f81a9dc39fb192943b3b332278 LU-5848 lnet: fix inconsistent seq_no names When YAML output is printed the literal "seqno" is used, when it's parsed, the literal "seq_no" is expected. This patch makes it consistent. Signed-off-by: Amir Shehata Change-Id: Iabf5394e858007c7f6e87c7baf892887da88f8e3 Reviewed-on: http://review.whamcloud.com/12562 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Doug Oucharek Reviewed-by: John L. Hammond --- diff --git a/lnet/utils/cyaml/cyaml.c b/lnet/utils/cyaml/cyaml.c index dccce6c..7413280 100644 --- a/lnet/utils/cyaml/cyaml.c +++ b/lnet/utils/cyaml/cyaml.c @@ -1072,7 +1072,7 @@ void cYAML_build_error(int rc, int seq_no, char *cmd, goto failed; if (seq_no >= 0 && - cYAML_create_number(err, "seqno", seq_no) == NULL) + cYAML_create_number(err, "seq_no", seq_no) == NULL) goto failed; if (cYAML_create_number(err, "errno", rc) == NULL)