Skip to content
Commit bff7e067 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mike Snitzer
Browse files

dm flakey: return -EINVAL on interval bounds error in flakey_ctr()



Fix to return error code -EINVAL instead of 0, as is done elsewhere in
this function.

Fixes: e80d1c80 ("dm: do not override error code returned from dm_get_device()")
Cc: stable@vger.kernel.org # 4.3+
Signed-off-by: default avatarWei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 1b1b58f5
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