diff options
author | Christoph Hellwig | 2018-05-30 18:51:00 +0200 |
---|---|---|
committer | Jens Axboe | 2018-05-30 11:31:34 -0600 |
commit | d250bf4e776ff09d51c97f83c7a19f65a9e1c5a5 (patch) | |
tree | 8b0d1aff3030f70300bd2be35b279ae24a131f8e /block/ioctl.c | |
parent | 5e3c3a7ecefefaebc7c9a626fe4522cb85bbdaad (diff) |
blk-mq: only iterate over inflight requests in blk_mq_tagset_busy_iter
We already check for started commands in all callbacks, but we should
also protect against already completed commands. Do this by taking
the checks to common code.
Acked-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions