]> git.baikalelectronics.ru Git - kernel.git/commit
dm: bio_alloc can't fail if it is allowed to sleep
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jan 2022 09:10:53 +0000 (10:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:49:59 +0000 (07:49 -0700)
commit9ad8d40209374d6b4dad904fdc85a2884a72d099
tree61bb0a5aeb27d9c456aae35a8831d025bb56f3bc
parenta5b1033f9fa1292d11100d2cdbd2ac0be299250a
dm: bio_alloc can't fail if it is allowed to sleep

Remove handling of NULL returns from sleeping bio_alloc calls given that
those can't fail.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220124091107.642561-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-crypt.c
drivers/md/dm-log-writes.c
drivers/md/dm-thin.c
drivers/md/dm-zoned-metadata.c
drivers/md/dm.c