From: nikita Date: Fri, 14 Apr 2006 22:33:56 +0000 (+0000) Subject: update lustre_assert_wire_constants() X-Git-Tag: v1_8_0_110~486^2~1996 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=3de2504b48472a647dc588cc302295b0da99b362;p=fs%2Flustre-release.git update lustre_assert_wire_constants() --- diff --git a/lustre/ptlrpc/pack_generic.c b/lustre/ptlrpc/pack_generic.c index ea358d3..07f95c3 100644 --- a/lustre/ptlrpc/pack_generic.c +++ b/lustre/ptlrpc/pack_generic.c @@ -1100,8 +1100,8 @@ void lustre_swab_qdata(struct qunit_data *d) void lustre_assert_wire_constants(void) { /* Wire protocol assertions generated by 'wirecheck' - * running on Linux schatzie.adilger.int 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i6 - * with gcc version 3.3.4 20040817 (Red Hat Linux 3.3.4-2) */ + * running on Linux tau 2.6.15-dirty #13 SMP Sat Feb 11 18:30:54 MSK 2006 i686 i686 i386 GNU/ + * with gcc version 3.3.3 (SuSE Linux) */ /* Constants... */ @@ -1201,7 +1201,7 @@ void lustre_assert_wire_constants(void) (long long)MDS_QUOTACHECK); LASSERTF(MDS_QUOTACTL == 48, " found %lld\n", (long long)MDS_QUOTACTL); - LASSERTF(MDS_LAST_OPC == 51, " found %lld\n", + LASSERTF(MDS_LAST_OPC == 52, " found %lld\n", (long long)MDS_LAST_OPC); LASSERTF(REINT_SETATTR == 1, " found %lld\n", (long long)REINT_SETATTR); @@ -1217,6 +1217,16 @@ void lustre_assert_wire_constants(void) (long long)REINT_OPEN); LASSERTF(REINT_MAX == 7, " found %lld\n", (long long)REINT_MAX); + LASSERTF(MGS_CONNECT == 250, " found %lld\n", + (long long)MGS_CONNECT); + LASSERTF(MGS_DISCONNECT == 251, " found %lld\n", + (long long)MGS_DISCONNECT); + LASSERTF(MGS_EXCEPTION == 252, " found %lld\n", + (long long)MGS_EXCEPTION); + LASSERTF(MGS_TARGET_REG == 253, " found %lld\n", + (long long)MGS_TARGET_REG); + LASSERTF(MGS_TARGET_DEL == 254, " found %lld\n", + (long long)MGS_TARGET_DEL); LASSERTF(DISP_IT_EXECD == 1, " found %lld\n", (long long)DISP_IT_EXECD); LASSERTF(DISP_LOOKUP_EXECD == 2, " found %lld\n", @@ -1233,16 +1243,6 @@ void lustre_assert_wire_constants(void) (long long)MDS_STATUS_CONN); LASSERTF(MDS_STATUS_LOV == 2, " found %lld\n", (long long)MDS_STATUS_LOV); - LASSERTF(MGS_CONNECT == 250, " found %lld\n", - (long long)MGS_CONNECT); - LASSERTF(MGS_DISCONNECT == 251, " found %lld\n", - (long long)MGS_DISCONNECT); - LASSERTF(MGS_EXCEPTION == 252, " found %lld\n", - (long long)MGS_EXCEPTION); - LASSERTF(MGS_TARGET_REG == 253, " found %lld\n", - (long long)MGS_TARGET_REG); - LASSERTF(MGS_TARGET_DEL == 254, " found %lld\n", - (long long)MGS_TARGET_DEL); LASSERTF(LDLM_ENQUEUE == 101, " found %lld\n", (long long)LDLM_ENQUEUE); LASSERTF(LDLM_CONVERT == 102, " found %lld\n", @@ -2889,3 +2889,4 @@ void lustre_assert_wire_constants(void) (long long)(int)sizeof(((struct qunit_data *)0)->qd_isblk)); } +