diff options
author | David Teigland <teigland@redhat.com> | 2007-11-07 10:06:49 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-01-29 18:17:19 -0500 |
commit | 52bda2b5bab87c388848bbc0f4d28d04858d5a7d (patch) | |
tree | feccf9f201d21fa3891884cfb7a46883b1adfea6 /fs/dlm/lockspace.c | |
parent | 11b2498ba7c88343d91630d679c8f2aeb8d57c48 (diff) |
dlm: use dlm prefix on alloc and free functions
The dlm functions in memory.c should use the dlm_ prefix. Also, use
kzalloc/kfree directly for dlm_direntry's, removing the wrapper functions.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lockspace.c')
-rw-r--r-- | fs/dlm/lockspace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index a0de1cbc603d..b180fdc51085 100644 --- a/fs/dlm/lockspace.c +++ b/fs/dlm/lockspace.c | |||
@@ -676,9 +676,9 @@ static int release_lockspace(struct dlm_ls *ls, int force) | |||
676 | dlm_del_ast(lkb); | 676 | dlm_del_ast(lkb); |
677 | 677 | ||
678 | if (lkb->lkb_lvbptr && lkb->lkb_flags & DLM_IFL_MSTCPY) | 678 | if (lkb->lkb_lvbptr && lkb->lkb_flags & DLM_IFL_MSTCPY) |
679 | free_lvb(lkb->lkb_lvbptr); | 679 | dlm_free_lvb(lkb->lkb_lvbptr); |
680 | 680 | ||
681 | free_lkb(lkb); | 681 | dlm_free_lkb(lkb); |
682 | } | 682 | } |
683 | } | 683 | } |
684 | dlm_astd_resume(); | 684 | dlm_astd_resume(); |
@@ -696,7 +696,7 @@ static int release_lockspace(struct dlm_ls *ls, int force) | |||
696 | res_hashchain); | 696 | res_hashchain); |
697 | 697 | ||
698 | list_del(&rsb->res_hashchain); | 698 | list_del(&rsb->res_hashchain); |
699 | free_rsb(rsb); | 699 | dlm_free_rsb(rsb); |
700 | } | 700 | } |
701 | 701 | ||
702 | head = &ls->ls_rsbtbl[i].toss; | 702 | head = &ls->ls_rsbtbl[i].toss; |
@@ -704,7 +704,7 @@ static int release_lockspace(struct dlm_ls *ls, int force) | |||
704 | rsb = list_entry(head->next, struct dlm_rsb, | 704 | rsb = list_entry(head->next, struct dlm_rsb, |
705 | res_hashchain); | 705 | res_hashchain); |
706 | list_del(&rsb->res_hashchain); | 706 | list_del(&rsb->res_hashchain); |
707 | free_rsb(rsb); | 707 | dlm_free_rsb(rsb); |
708 | } | 708 | } |
709 | } | 709 | } |
710 | 710 | ||