Commit 8113aa91 authored by Yang Yingliang's avatar Yang Yingliang Committed by David Teigland
Browse files

fs: dlm: fix return value check in dlm_memory_init()

It should check 'cb_cache', after calling kmem_cache_create("dlm_cb").

Fixes: 61bed0ba

 ("fs: dlm: use a non-static queue for callbacks")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 88603b6d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment