diff options
author | John Ogness <john.ogness@linutronix.de> | 2020-06-19 17:23:17 +0206 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-16 10:22:15 -0600 |
commit | a43f085f8720c4f705b86e7432d19ef955750b36 (patch) | |
tree | 45a1db7f0c6db78ad1432072eb8b467d1768f3bb /drivers/ata/pdc_adma.c | |
parent | 5b642d8b9f2ef1212f33dfc337816e6b4ab83bb3 (diff) |
block: remove unnecessary ioc nested locking
The legacy CFQ IO scheduler could call put_io_context() in its exit_icq()
elevator callback. This led to a lockdep warning, which was fixed in
commit d8c66c5d5924 ("block: fix lockdep warning on io_context release
put_io_context()") by using a nested subclass for the ioc spinlock.
However, with commit f382fb0bcef4 ("block: remove legacy IO schedulers")
the CFQ IO scheduler no longer exists.
The BFQ IO scheduler also implements the exit_icq() elevator callback but
does not call put_io_context().
The nested subclass for the ioc spinlock is no longer needed. Since it
existed as an exception and no longer applies, remove the nested subclass
usage.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/pdc_adma.c')
0 files changed, 0 insertions, 0 deletions