]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm-integrity: set ti->error on memory allocation failure
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 10 Feb 2025 15:14:22 +0000 (16:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:18:21 +0000 (10:18 +0200)
commit5a5f6f889cee6f925b7b2d04370d7e465e72ccd0
tree151b0d6dcaf99d8b77a65383efc5038e7fb07339
parent6e7952679cec35a83e1c485bf6806a5920e38b25
dm-integrity: set ti->error on memory allocation failure

commit 00204ae3d6712ee053353920e3ce2b00c35ef75b 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>
drivers/md/dm-integrity.c