]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove a bogus warning in __submit_bio_noacct_mq
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Jul 2020 17:45:03 +0000 (19:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 7 Jul 2020 17:45:59 +0000 (11:45 -0600)
commit356f696996243c42a1f2216614957b31bb9b7740
tree53c192505570b701bdd5ecdf539ef68850f865ad
parentb39d366ce3fd8a431af7df545c6080e538eee444
block: remove a bogus warning in __submit_bio_noacct_mq

If blk_mq_submit_bio flushes the plug list, bios for other disks can
show up on current->bio_list.  As that doesn't involve any stacking of
block device it is entirely harmless and we should not warn about
this case.

Fixes: 711e36c92ec4 ("block: shortcut __submit_bio_noacct for blk-mq drivers")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c