From: ccooper Date: Sat, 26 Jul 2003 16:27:13 +0000 (+0000) Subject: Revert __attribute__((packed)) change, to preserve on-disk compatibility on X-Git-Tag: 0.9.1~404 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=32e0532a74bcd61773b9cb76ce013caeb435c089;p=fs%2Flustre-release.git Revert __attribute__((packed)) change, to preserve on-disk compatibility on IA64 systems from before the change. Will need to revisit for heterogeneous IA64/IA32 clusters. --- diff --git a/lustre/include/linux/lustre_idl.h b/lustre/include/linux/lustre_idl.h index 055b7a4..ffd9f1e 100644 --- a/lustre/include/linux/lustre_idl.h +++ b/lustre/include/linux/lustre_idl.h @@ -305,7 +305,7 @@ struct lov_mds_md { __u16 lmm_stripe_count; /* number of stipes in use for this object */ __u16 lmm_ost_count; /* how many OST idx are in this LOV md */ struct lov_object_id lmm_objects[0]; -}; +} __attribute__((packed)); #define OBD_MD_FLALL (0xffffffff) #define OBD_MD_FLID (0x00000001) /* object ID */