提交 12eb0035 编写于 作者: S Sunil Mushran 提交者: Mark Fasheh

ocfs2/dlm: Rename slabcache dlm_mle_cache to o2dlm_mle

This patch renames dlm_mle_slabcache to prevent namespace clashes with fs/dlm.
Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: NJoel Becker <joel.becker@oracle.com>
Signed-off-by: NMark Fasheh <mfasheh@suse.com>
上级 53f67e33
...@@ -1816,8 +1816,10 @@ static int __init dlm_init(void) ...@@ -1816,8 +1816,10 @@ static int __init dlm_init(void)
dlm_print_version(); dlm_print_version();
status = dlm_init_mle_cache(); status = dlm_init_mle_cache();
if (status) if (status) {
mlog(ML_ERROR, "Could not create o2dlm_mle slabcache\n");
return -1; return -1;
}
status = dlm_register_net_handlers(); status = dlm_register_net_handlers();
if (status) { if (status) {
......
...@@ -507,7 +507,7 @@ static void dlm_mle_node_up(struct dlm_ctxt *dlm, ...@@ -507,7 +507,7 @@ static void dlm_mle_node_up(struct dlm_ctxt *dlm,
int dlm_init_mle_cache(void) 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), sizeof(struct dlm_master_list_entry),
0, SLAB_HWCACHE_ALIGN, 0, SLAB_HWCACHE_ALIGN,
NULL); NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册