]> 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)
commit488bc595aaff242c5e4f6d24150122934b59cafe
tree4f641fdabdb90663b0a9182480e4c0433eecfea1
parent015f26cb7597d6d4f6be0bc258bb9f210fd06748
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