diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-21 09:52:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-21 09:52:20 -0700 |
commit | 73e83dc300d5f2858c1e3f6bf7fbb1e161a2990c (patch) | |
tree | fb2df8f427a7578c522aead5e57e27be78ea125e /fs/ocfs2/vote.c | |
parent | 176df2457ef6207156ca1a40991c54ca01fef567 (diff) | |
parent | 813d974c53a2b353566a86bb127625b403696dae (diff) |
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
ocfs2: Pack vote message and response structures
ocfs2: Don't double set write parameters
ocfs2: Fix pos/len passed to ocfs2_write_cluster
ocfs2: Allow smaller allocations during large writes
Diffstat (limited to 'fs/ocfs2/vote.c')
-rw-r--r-- | fs/ocfs2/vote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/vote.c b/fs/ocfs2/vote.c index 66a13ee63d4..c05358538f2 100644 --- a/fs/ocfs2/vote.c +++ b/fs/ocfs2/vote.c @@ -66,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 */ @@ -78,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; |