Skip to content
Commit 07d9a395 authored by Coly Li's avatar Coly Li Committed by Mark Fasheh
Browse files

ocfs2: fix return value set in init_dlmfs_fs()



In init_dlmfs_fs(), if calling kmem_cache_create() failed, the code will use return value from
calling bdi_init(). The correct behavior should be set status as -ENOMEM before going to "bail:".

Signed-off-by: default avatarColy Li <coyli@suse.de>
Acked-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
parent a2eee69b
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