Skip to content

Commit

Permalink
ocfs2/dlm: Rename slabcache dlm_mle_cache to o2dlm_mle
Browse files Browse the repository at this point in the history
This patch renames dlm_mle_slabcache to prevent namespace clashes with fs/dlm.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
  • Loading branch information
Sunil Mushran authored and Mark Fasheh committed Apr 18, 2008
1 parent 53f67e3 commit 12eb003
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion fs/ocfs2/dlm/dlmdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -1816,8 +1816,10 @@ static int __init dlm_init(void)
dlm_print_version();

status = dlm_init_mle_cache();
if (status)
if (status) {
mlog(ML_ERROR, "Could not create o2dlm_mle slabcache\n");
return -1;
}

status = dlm_register_net_handlers();
if (status) {
Expand Down
2 changes: 1 addition & 1 deletion fs/ocfs2/dlm/dlmmaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ static void dlm_mle_node_up(struct dlm_ctxt *dlm,

int dlm_init_mle_cache(void)
{
dlm_mle_cache = kmem_cache_create("dlm_mle_cache",
dlm_mle_cache = kmem_cache_create("o2dlm_mle",
sizeof(struct dlm_master_list_entry),
0, SLAB_HWCACHE_ALIGN,
NULL);
Expand Down

0 comments on commit 12eb003

Please sign in to comment.