Skip to content
Commit 09e8b813 authored by Wei Yongjun's avatar Wei Yongjun Committed by Alasdair G Kergon
Browse files

dm snapshot: fix error return code in snapshot_ctr



Return -ENOMEM instead of success if unable to allocate pending
exception mempool in snapshot_ctr.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent fa4d683a
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