]> 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:15:53 +0000 (10:15 +0200)
commitba42f98f092b0a9d275a3d65635457262d8333d1
treee8d945db47f0a7c939ec8586400910fb40b5b369
parenta1a4fdc33d9cf4953b9daa22e3b6abb4ed1bd85e
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