commit | bff7e067ee518f9ed7e1cbc63e4c9e01670d0b71 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Mon Aug 08 14:09:27 2016 +0000 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Nov 21 09:52:07 2016 -0500 |
tree | 67f1f9b74872bce60a1ce0d36f0c0b592355f97b | |
parent | 1b1b58f54fdb1d28a85ab9e1b6d3d6b9b37f4ac7 [diff] |
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: e80d1c805a3b ("dm: do not override error code returned from dm_get_device()") Cc: stable@vger.kernel.org # 4.3+ Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>