OSDN Git Service

block: remove get_io_context_active
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Nov 2021 11:58:12 +0000 (12:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:41:29 +0000 (06:41 -0700)
commit50569c24be61eafb3efa06e2a3ccd447f75ae1b0
treef62df93e17dfa8409aef6b77eddf9bf7f47d2183
parent222ee581b84582dc472d5395b77d7e0cb5268d1c
block: remove get_io_context_active

Fold it into it's only caller, and remove a lof of the debug checks
that are not needed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211126115817.2087431-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-ioc.c
include/linux/iocontext.h