Skip to content
Snippets Groups Projects
Commit 219403d7 authored by Ye Bin's avatar Ye Bin Committed by Mike Snitzer
Browse files

dm thin metadata: Avoid returning cmd->bm wild pointer on error


Maybe __create_persistent_data_objects() caller will use PTR_ERR as a
pointer, it will lead to some strange things.

Signed-off-by: default avatarYe Bin <yebin10@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent d16ff19e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment