OSDN Git Service

block: remove BIO_BUG_ON
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 16:17:57 +0000 (18:17 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:34 +0000 (06:17 -0600)
commit9e8c0d0d4d21d2c2c60132e2c18a73d08a230b42
treeab09e024034f211f9bdb61c5e7c83ff55a3f01b2
parente9ea15963f3b9d979e1d6d758b8e407775ae6588
block: remove BIO_BUG_ON

BIO_DEBUG is always defined, so just switch the two instances to use
BUG_ON directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211012161804.991559-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
include/linux/bio.h