dm-integrity: set ti->error on memory allocation failure

commit 00204ae3d6 upstream.

The dm-integrity target didn't set the error string when memory
allocation failed. This patch fixes it.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mikulas Patocka 2025-02-10 16:14:22 +01:00 • committed by Greg Kroah-Hartman
commit 422dd984f7