Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: don't verify IO lock for freeze/unfreeze in elevator_init_mq()
commit 357e1b7 upstream. elevator_init_mq() is only called at the entry of add_disk_fwnode() when disk IO isn't allowed yet. So not verify io lock(q->io_lockdep_map) for freeze & unfreeze in elevator_init_mq(). Reported-by: Marek Szyprowski <[email protected]> Reported-by: Lai Yi <[email protected]> Fixes: f1be178 ("block: model freeze & enter queue as lock for supporting lockdep") Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information