Skip to content
Commit ca0dcef7 authored by Kunwu Chan's avatar Kunwu Chan Committed by David Teigland
Browse files

dlm: Simplify the allocation of slab caches in dlm_lowcomms_msg_cache_create



Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.

Signed-off-by: default avatarKunwu Chan <chentao@kylinos.cn>
Acked-by: default avatarAlexander Aring <aahringo@redhat.com>
Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 2bec1bbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment