]> 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)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 24 Feb 2025 10:42:09 +0000 (11:42 +0100)
commit00204ae3d6712ee053353920e3ce2b00c35ef75b
tree6e98902bbd7d7ccd01eb52a10af9a2f6150649b5
parenta8b8a126c8573b392432b0d1b23314bda59acbfc
dm-integrity: set ti->error on memory allocation failure

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