From: alex Date: Tue, 24 Aug 2004 18:20:08 +0000 (+0000) Subject: - struct obd should be 64bits aligned X-Git-Tag: 1.3.4~447 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=03c4552711e0fa2c0b35fe2a2c985ce117714fb9;p=fs%2Flustre-release.git - struct obd should be 64bits aligned --- diff --git a/lustre/ptlrpc/pack_generic.c b/lustre/ptlrpc/pack_generic.c index 97d1501..9e23211b 100644 --- a/lustre/ptlrpc/pack_generic.c +++ b/lustre/ptlrpc/pack_generic.c @@ -1078,7 +1078,7 @@ void lustre_assert_wire_constants(void) (long long)(int)sizeof(((struct lustre_msg *)0)->buflens[7])); /* Checks for struct obdo */ - LASSERTF((int)sizeof(struct obdo) == 172, " found %lld\n", + LASSERTF((int)sizeof(struct obdo) == 176, " found %lld\n", (long long)(int)sizeof(struct obdo)); LASSERTF((int)offsetof(struct obdo, o_id) == 0, " found %lld\n", (long long)(int)offsetof(struct obdo, o_id)); @@ -1152,7 +1152,7 @@ void lustre_assert_wire_constants(void) (long long)(int)offsetof(struct obdo, o_easize)); LASSERTF((int)sizeof(((struct obdo *)0)->o_easize) == 4, " found %lld\n", (long long)(int)sizeof(((struct obdo *)0)->o_easize)); - LASSERTF((int)offsetof(struct obdo, o_inline) == 108, " found %lld\n", + LASSERTF((int)offsetof(struct obdo, o_inline) == 112, " found %lld\n", (long long)(int)offsetof(struct obdo, o_inline)); LASSERTF((int)sizeof(((struct obdo *)0)->o_inline) == 64, " found %lld\n", (long long)(int)sizeof(((struct obdo *)0)->o_inline)); @@ -1362,11 +1362,11 @@ void lustre_assert_wire_constants(void) (long long)OBD_BRW_FROM_GRANT); /* Checks for struct ost_body */ - LASSERTF((int)sizeof(struct ost_body) == 172, " found %lld\n", + LASSERTF((int)sizeof(struct ost_body) == 176, " found %lld\n", (long long)(int)sizeof(struct ost_body)); LASSERTF((int)offsetof(struct ost_body, oa) == 0, " found %lld\n", (long long)(int)offsetof(struct ost_body, oa)); - LASSERTF((int)sizeof(((struct ost_body *)0)->oa) == 172, " found %lld\n", + LASSERTF((int)sizeof(((struct ost_body *)0)->oa) == 176, " found %lld\n", (long long)(int)sizeof(((struct ost_body *)0)->oa)); /* Checks for struct ll_fid */