]> 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>
Fri, 25 Apr 2025 08:43:44 +0000 (10:43 +0200)
commit5162ecc2d99e5d60d0cd214cdbc023ad5592d211
tree905c1c14998a90fe67405618f992d3bda168b0f5
parente89228ddd52aad892663e1c937a7c0e015876538
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