Commit 065e4eb8 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Yang Yingliang
Browse files

dm integrity: fix a crash if "recalculate" used without "internal_hash"



stable inclusion
from linux-4.19.171
commit cf750e09d17f25cf763644168417fcad73e3ce0c

--------------------------------

commit 2d06dfec upstream.

Recalculate can only be specified with internal_hash.

Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent ee6a5b3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment