]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit330de1d79a095e986cf22b62a58da44149f38e3c
treeab09e024034f211f9bdb61c5e7c83ff55a3f01b2
parentd81854e7c8c6360de27c668a4280bc831019c0bb
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