OSDN Git Service

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)
commit7d8d0c658d48705fca35238a8ff601b7c5cbc0de
tree4f641fdabdb90663b0a9182480e4c0433eecfea1
parentd7b78de2b1552e3e7ce3a069f075cc2729aa5c34
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