block: handle bio_split_to_limits() NULL return
authorJens Axboe <axboe@kernel.dk>
Wed, 4 Jan 2023 15:51:19 +0000 (08:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Jan 2023 16:05:23 +0000 (09:05 -0700)
commit613b14884b8595e20b9fac4126bf627313827fbe
treec779b681aaaeb9854bc310c3a618b8c72f376686
parent1551ed5a178ca030adc92b1eb29157b5e92bf134
block: handle bio_split_to_limits() NULL return

This can't happen right now, but in preparation for allowing
bio_split_to_limits() returning NULL if it ended the bio, check for it
in all the callers.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
block/blk-mq.c
drivers/block/drbd/drbd_req.c
drivers/block/ps3vram.c
drivers/md/dm.c
drivers/md/md.c
drivers/nvme/host/multipath.c
drivers/s390/block/dcssblk.c