summaryrefslogtreecommitdiffstats
path: root/fs/dlm/memory.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-02-23 09:56:38 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-23 09:56:38 +0000
commit3bcd3687f895f178fa8480a7bcc47a363817354a (patch)
tree13e64d5b9576b47401620aaada846f3c9c874cda /fs/dlm/memory.c
parentd35462b4bb847b68321c55e95c926aa485aecce2 (diff)
downloadlinux-3bcd3687f895f178fa8480a7bcc47a363817354a.tar.gz
linux-3bcd3687f895f178fa8480a7bcc47a363817354a.tar.bz2
linux-3bcd3687f895f178fa8480a7bcc47a363817354a.zip
[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/memory.c')
-rw-r--r--fs/dlm/memory.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/dlm/memory.c b/fs/dlm/memory.c
index 0b9851d0bdb2..f7cf4589fae8 100644
--- a/fs/dlm/memory.c
+++ b/fs/dlm/memory.c
@@ -50,22 +50,6 @@ void free_lvb(char *p)
kfree(p);
}
-uint64_t *allocate_range(struct dlm_ls *ls)
-{
- int ralen = 4*sizeof(uint64_t);
- uint64_t *p;
-
- p = kmalloc(ralen, GFP_KERNEL);
- if (p)
- memset(p, 0, ralen);
- return p;
-}
-
-void free_range(uint64_t *p)
-{
- kfree(p);
-}
-
/* FIXME: have some minimal space built-in to rsb for the name and
kmalloc a separate name if needed, like dentries are done */