]> 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, 2 May 2025 05:44:05 +0000 (07:44 +0200)
commit422dd984f7ef970425d32eb88ecbef49d94dc21d
tree6549f920077cd3a874f3da98a17a33eedfad23d8
parent9c5eedb065fa3373a3301ccfceaf8a317d61fd19
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