aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/dlm/dlmdomain.c4
-rw-r--r--fs/ocfs2/dlm/dlmmaster.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c
index 0879d86113e3..2ce620742f9e 100644
--- a/fs/ocfs2/dlm/dlmdomain.c
+++ b/fs/ocfs2/dlm/dlmdomain.c
@@ -1816,8 +1816,10 @@ static int __init dlm_init(void)
1816 dlm_print_version(); 1816 dlm_print_version();
1817 1817
1818 status = dlm_init_mle_cache(); 1818 status = dlm_init_mle_cache();
1819 if (status) 1819 if (status) {
1820 mlog(ML_ERROR, "Could not create o2dlm_mle slabcache\n");
1820 return -1; 1821 return -1;
1822 }
1821 1823
1822 status = dlm_register_net_handlers(); 1824 status = dlm_register_net_handlers();
1823 if (status) { 1825 if (status) {
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index ea6b89577860..90797c591018 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -507,7 +507,7 @@ static void dlm_mle_node_up(struct dlm_ctxt *dlm,
507 507
508int dlm_init_mle_cache(void) 508int dlm_init_mle_cache(void)
509{ 509{
510 dlm_mle_cache = kmem_cache_create("dlm_mle_cache", 510 dlm_mle_cache = kmem_cache_create("o2dlm_mle",
511 sizeof(struct dlm_master_list_entry), 511 sizeof(struct dlm_master_list_entry),
512 0, SLAB_HWCACHE_ALIGN, 512 0, SLAB_HWCACHE_ALIGN,
513 NULL); 513 NULL);