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 /include/linux/dlm.h | |
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 'include/linux/dlm.h')
-rw-r--r-- | include/linux/dlm.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/linux/dlm.h b/include/linux/dlm.h index dd324ba44d80..1b1dcb9a40bb 100644 --- a/include/linux/dlm.h +++ b/include/linux/dlm.h | |||
@@ -160,15 +160,6 @@ | |||
160 | typedef void dlm_lockspace_t; | 160 | typedef void dlm_lockspace_t; |
161 | 161 | ||
162 | /* | 162 | /* |
163 | * Lock range structure | ||
164 | */ | ||
165 | |||
166 | struct dlm_range { | ||
167 | uint64_t ra_start; | ||
168 | uint64_t ra_end; | ||
169 | }; | ||
170 | |||
171 | /* | ||
172 | * Lock status block | 163 | * Lock status block |
173 | * | 164 | * |
174 | * Use this structure to specify the contents of the lock value block. For a | 165 | * Use this structure to specify the contents of the lock value block. For a |
@@ -277,8 +268,7 @@ int dlm_lock(dlm_lockspace_t *lockspace, | |||
277 | uint32_t parent_lkid, | 268 | uint32_t parent_lkid, |
278 | void (*lockast) (void *astarg), | 269 | void (*lockast) (void *astarg), |
279 | void *astarg, | 270 | void *astarg, |
280 | void (*bast) (void *astarg, int mode), | 271 | void (*bast) (void *astarg, int mode)); |
281 | struct dlm_range *range); | ||
282 | 272 | ||
283 | /* | 273 | /* |
284 | * dlm_unlock | 274 | * dlm_unlock |