aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/rcom.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-02-23 04:56:38 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-23 04:56:38 -0500
commit3bcd3687f895f178fa8480a7bcc47a363817354a (patch)
tree13e64d5b9576b47401620aaada846f3c9c874cda /fs/dlm/rcom.c
parentd35462b4bb847b68321c55e95c926aa485aecce2 (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/rcom.c')
-rw-r--r--fs/dlm/rcom.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/dlm/rcom.c b/fs/dlm/rcom.c
index 4c5c08a8860e..55fbe313340e 100644
--- a/fs/dlm/rcom.c
+++ b/fs/dlm/rcom.c
@@ -284,9 +284,6 @@ static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb,
284 if (lkb->lkb_astaddr) 284 if (lkb->lkb_astaddr)
285 rl->rl_asts |= AST_COMP; 285 rl->rl_asts |= AST_COMP;
286 286
287 if (lkb->lkb_range)
288 memcpy(rl->rl_range, lkb->lkb_range, 4*sizeof(uint64_t));
289
290 rl->rl_namelen = r->res_length; 287 rl->rl_namelen = r->res_length;
291 memcpy(rl->rl_name, r->res_name, r->res_length); 288 memcpy(rl->rl_name, r->res_name, r->res_length);
292 289