Wei Yongjun 3cc2e57c4b dm crypt: fix error return code in crypt_ctr()
Fix to return error code -ENOMEM from the mempool_create_kmalloc_pool()
error handling case instead of 0, as done elsewhere in this function.

Fixes: ef43aa38063a6 ("dm crypt: add cryptographic data integrity protection (authenticated encryption)")
Cc: stable@vger.kernel.org # 4.12+
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2018-01-17 09:10:55 -05:00
..
2016-11-01 09:43:26 -06:00
2017-10-05 15:22:59 -06:00
2017-06-09 09:27:32 -06:00
2017-06-09 09:27:32 -06:00
2017-11-01 21:32:25 -07:00
2017-11-01 21:32:24 -07:00
2017-11-01 21:32:22 -07:00
2017-12-01 12:19:48 -08:00
2017-12-01 12:19:48 -08:00