]> git.baikalelectronics.ru Git - kernel.git/commit
blk-crypto: use bio_kmalloc in blk_crypto_clone_bio
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Jan 2021 14:52:33 +0000 (15:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Jan 2021 16:51:48 +0000 (09:51 -0700)
commitb06c17eea65c4b2c9b737b08db5f4b26196c2e6e
treecda38ac90c4a011076f17300d5b585c3da21218a
parentb8bc4e81926fe64e8c994128a423a552d9023e36
blk-crypto: use bio_kmalloc in blk_crypto_clone_bio

Use bio_kmalloc instead of open coding it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-crypto-fallback.c