diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-01-25 02:08:26 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-02-04 02:23:14 -0500 |
commit | 163a1859ec6c4c33547bf4613efabf52031566aa (patch) | |
tree | 04a6dc1c69f726c6686d2a731692fddfdf47d2f2 /fs/dlm/dlm_internal.h | |
parent | eef7d739c218cb2546cf95686db77de0d76e4122 (diff) |
dlm: do not byteswap rcom_lock
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
-rw-r--r-- | fs/dlm/dlm_internal.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h index 65499ceaa516..e73b988995f5 100644 --- a/fs/dlm/dlm_internal.h +++ b/fs/dlm/dlm_internal.h | |||
@@ -416,21 +416,21 @@ struct rcom_config { | |||
416 | }; | 416 | }; |
417 | 417 | ||
418 | struct rcom_lock { | 418 | struct rcom_lock { |
419 | uint32_t rl_ownpid; | 419 | __le32 rl_ownpid; |
420 | uint32_t rl_lkid; | 420 | __le32 rl_lkid; |
421 | uint32_t rl_remid; | 421 | __le32 rl_remid; |
422 | uint32_t rl_parent_lkid; | 422 | __le32 rl_parent_lkid; |
423 | uint32_t rl_parent_remid; | 423 | __le32 rl_parent_remid; |
424 | uint32_t rl_exflags; | 424 | __le32 rl_exflags; |
425 | uint32_t rl_flags; | 425 | __le32 rl_flags; |
426 | uint32_t rl_lvbseq; | 426 | __le32 rl_lvbseq; |
427 | int rl_result; | 427 | __le32 rl_result; |
428 | int8_t rl_rqmode; | 428 | int8_t rl_rqmode; |
429 | int8_t rl_grmode; | 429 | int8_t rl_grmode; |
430 | int8_t rl_status; | 430 | int8_t rl_status; |
431 | int8_t rl_asts; | 431 | int8_t rl_asts; |
432 | uint16_t rl_wait_type; | 432 | __le16 rl_wait_type; |
433 | uint16_t rl_namelen; | 433 | __le16 rl_namelen; |
434 | char rl_name[DLM_RESNAME_MAXLEN]; | 434 | char rl_name[DLM_RESNAME_MAXLEN]; |
435 | char rl_lvb[0]; | 435 | char rl_lvb[0]; |
436 | }; | 436 | }; |