diff options
author | David Teigland <teigland@redhat.com> | 2006-02-23 04:56:38 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-23 04:56:38 -0500 |
commit | 3bcd3687f895f178fa8480a7bcc47a363817354a (patch) | |
tree | 13e64d5b9576b47401620aaada846f3c9c874cda /fs/dlm/util.c | |
parent | d35462b4bb847b68321c55e95c926aa485aecce2 (diff) |
[DLM] Remove range locks from the DLM
This patch removes support for range locking from the DLM
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/util.c')
-rw-r--r-- | fs/dlm/util.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/dlm/util.c b/fs/dlm/util.c index 826d122edf55..767197db9944 100644 --- a/fs/dlm/util.c +++ b/fs/dlm/util.c | |||
@@ -54,8 +54,6 @@ void dlm_message_out(struct dlm_message *ms) | |||
54 | ms->m_bastmode = cpu_to_le32(ms->m_bastmode); | 54 | ms->m_bastmode = cpu_to_le32(ms->m_bastmode); |
55 | ms->m_asts = cpu_to_le32(ms->m_asts); | 55 | ms->m_asts = cpu_to_le32(ms->m_asts); |
56 | ms->m_result = cpu_to_le32(ms->m_result); | 56 | ms->m_result = cpu_to_le32(ms->m_result); |
57 | ms->m_range[0] = cpu_to_le64(ms->m_range[0]); | ||
58 | ms->m_range[1] = cpu_to_le64(ms->m_range[1]); | ||
59 | } | 57 | } |
60 | 58 | ||
61 | void dlm_message_in(struct dlm_message *ms) | 59 | void dlm_message_in(struct dlm_message *ms) |
@@ -82,8 +80,6 @@ void dlm_message_in(struct dlm_message *ms) | |||
82 | ms->m_bastmode = le32_to_cpu(ms->m_bastmode); | 80 | ms->m_bastmode = le32_to_cpu(ms->m_bastmode); |
83 | ms->m_asts = le32_to_cpu(ms->m_asts); | 81 | ms->m_asts = le32_to_cpu(ms->m_asts); |
84 | ms->m_result = le32_to_cpu(ms->m_result); | 82 | ms->m_result = le32_to_cpu(ms->m_result); |
85 | ms->m_range[0] = le64_to_cpu(ms->m_range[0]); | ||
86 | ms->m_range[1] = le64_to_cpu(ms->m_range[1]); | ||
87 | } | 83 | } |
88 | 84 | ||
89 | static void rcom_lock_out(struct rcom_lock *rl) | 85 | static void rcom_lock_out(struct rcom_lock *rl) |
@@ -99,10 +95,6 @@ static void rcom_lock_out(struct rcom_lock *rl) | |||
99 | rl->rl_result = cpu_to_le32(rl->rl_result); | 95 | rl->rl_result = cpu_to_le32(rl->rl_result); |
100 | rl->rl_wait_type = cpu_to_le16(rl->rl_wait_type); | 96 | rl->rl_wait_type = cpu_to_le16(rl->rl_wait_type); |
101 | rl->rl_namelen = cpu_to_le16(rl->rl_namelen); | 97 | rl->rl_namelen = cpu_to_le16(rl->rl_namelen); |
102 | rl->rl_range[0] = cpu_to_le64(rl->rl_range[0]); | ||
103 | rl->rl_range[1] = cpu_to_le64(rl->rl_range[1]); | ||
104 | rl->rl_range[2] = cpu_to_le64(rl->rl_range[2]); | ||
105 | rl->rl_range[3] = cpu_to_le64(rl->rl_range[3]); | ||
106 | } | 98 | } |
107 | 99 | ||
108 | static void rcom_lock_in(struct rcom_lock *rl) | 100 | static void rcom_lock_in(struct rcom_lock *rl) |
@@ -118,10 +110,6 @@ static void rcom_lock_in(struct rcom_lock *rl) | |||
118 | rl->rl_result = le32_to_cpu(rl->rl_result); | 110 | rl->rl_result = le32_to_cpu(rl->rl_result); |
119 | rl->rl_wait_type = le16_to_cpu(rl->rl_wait_type); | 111 | rl->rl_wait_type = le16_to_cpu(rl->rl_wait_type); |
120 | rl->rl_namelen = le16_to_cpu(rl->rl_namelen); | 112 | rl->rl_namelen = le16_to_cpu(rl->rl_namelen); |
121 | rl->rl_range[0] = le64_to_cpu(rl->rl_range[0]); | ||
122 | rl->rl_range[1] = le64_to_cpu(rl->rl_range[1]); | ||
123 | rl->rl_range[2] = le64_to_cpu(rl->rl_range[2]); | ||
124 | rl->rl_range[3] = le64_to_cpu(rl->rl_range[3]); | ||
125 | } | 113 | } |
126 | 114 | ||
127 | static void rcom_config_out(struct rcom_config *rf) | 115 | static void rcom_config_out(struct rcom_config *rf) |