X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Focfs2%2Fvote.c;h=c05358538f2bfa96ddab90b7ddd1c01d1faa3efb;hb=4fa435018d740cb83d74c92306aa1f796da91ddd;hp=4f82a2f0efef9edfa76493d39dce1a1ba9b83d96;hpb=4f7a307dc6e4d8bfeb56f7cf7231b08cb845687c;p=linux-2.6 diff --git a/fs/ocfs2/vote.c b/fs/ocfs2/vote.c index 4f82a2f0ef..c05358538f 100644 --- a/fs/ocfs2/vote.c +++ b/fs/ocfs2/vote.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include @@ -67,7 +66,7 @@ struct ocfs2_vote_msg { struct ocfs2_msg_hdr v_hdr; __be32 v_reserved1; -}; +} __attribute__ ((packed)); /* Responses are given these values to maintain backwards * compatibility with older ocfs2 versions */ @@ -79,7 +78,7 @@ struct ocfs2_response_msg { struct ocfs2_msg_hdr r_hdr; __be32 r_response; -}; +} __attribute__ ((packed)); struct ocfs2_vote_work { struct list_head w_list;