dm integrity: don't use drivers that have CRYPTO_ALG_ALLOCATES_MEMORY
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 15 Oct 2020 17:21:44 +0000 (13:21 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 17 Nov 2020 15:45:06 +0000 (10:45 -0500)
commita7a10bce8a04f48238a8306ec97d430b77917015
tree8c824adb6990ad2ab5eaa4f0ec86742d018b2624
parent09162bc32c880a791c6c0668ce0745cf7958f576
dm integrity: don't use drivers that have CRYPTO_ALG_ALLOCATES_MEMORY

Don't use crypto drivers that have the flag CRYPTO_ALG_ALLOCATES_MEMORY
set. These drivers allocate memory and thus they are not suitable for
block I/O processing.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-integrity.c