]> git.baikalelectronics.ru Git - kernel.git/commit
xen-blkback: bio_alloc can't fail if it is allow to sleep
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jan 2022 09:11:00 +0000 (10:11 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:49:59 +0000 (07:49 -0700)
commited701cd10a6ceaff952e71eb89bf57d631bf7924
tree4f641fdabdb90663b0a9182480e4c0433eecfea1
parent9ef6154fc246324f0c71a4e8d0a612fd8ade2081
xen-blkback: bio_alloc can't fail if it is allow 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-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/xen-blkback/blkback.c