__swab32s (&b->eadatasize);
__swab32s (&b->mds);
}
-void lustre_swab_clonefs_info (struct clonefs_info *clone)
-{
- __swab32s(&clone->clone_index);
- __swab32s(&clone->clone_flags);
-}
void lustre_swab_mds_rec_setattr (struct mds_rec_setattr *sa)
{
__swab32s (&sa->sa_opcode);
void lustre_assert_wire_constants(void)
{
/* Wire protocol assertions generated by 'wirecheck'
- * running on Linux build 2.4.24-cmd #1 SMP Wed Aug 18 14:24:44 MDT 2004 i686 i686 i386 GNU/L
+ * running on Linux build 2.4.24-cmd2 #1 SMP Tue Sep 14 10:34:54 MDT 2004 i686 i686 i386 GNU/
* with gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) */
(long long)OST_REQ_HAS_OA1);
LASSERTF(MDS_GETATTR == 33, " found %lld\n",
(long long)MDS_GETATTR);
- LASSERTF(MDS_GETATTR_NAME == 34, " found %lld\n",
- (long long)MDS_GETATTR_NAME);
+ LASSERTF(MDS_GETATTR_LOCK == 34, " found %lld\n",
+ (long long)MDS_GETATTR_LOCK);
LASSERTF(MDS_CLOSE == 35, " found %lld\n",
(long long)MDS_CLOSE);
LASSERTF(MDS_REINT == 36, " found %lld\n",
(long long)(int)offsetof(struct obdo, o_gr));
LASSERTF((int)sizeof(((struct obdo *)0)->o_gr) == 8, " found %lld\n",
(long long)(int)sizeof(((struct obdo *)0)->o_gr));
- LASSERTF((int)offsetof(struct obdo, o_atime) == 16, " found %lld\n",
+ LASSERTF((int)offsetof(struct obdo, o_atime) == 32, " found %lld\n",
(long long)(int)offsetof(struct obdo, o_atime));
LASSERTF((int)sizeof(((struct obdo *)0)->o_atime) == 8, " found %lld\n",
(long long)(int)sizeof(((struct obdo *)0)->o_atime));
(long long)(int)offsetof(struct obdo, o_mtime));
LASSERTF((int)sizeof(((struct obdo *)0)->o_mtime) == 8, " found %lld\n",
(long long)(int)sizeof(((struct obdo *)0)->o_mtime));
- LASSERTF((int)offsetof(struct obdo, o_ctime) == 32, " found %lld\n",
+ LASSERTF((int)offsetof(struct obdo, o_ctime) == 40, " found %lld\n",
(long long)(int)offsetof(struct obdo, o_ctime));
LASSERTF((int)sizeof(((struct obdo *)0)->o_ctime) == 8, " found %lld\n",
(long long)(int)sizeof(((struct obdo *)0)->o_ctime));
- LASSERTF((int)offsetof(struct obdo, o_size) == 40, " found %lld\n",
+ LASSERTF((int)offsetof(struct obdo, o_size) == 16, " found %lld\n",
(long long)(int)offsetof(struct obdo, o_size));
LASSERTF((int)sizeof(((struct obdo *)0)->o_size) == 8, " found %lld\n",
(long long)(int)sizeof(((struct obdo *)0)->o_size));