Bart Van Assche 18d4d7d057 blk-mq: Do not invoke queue operations on a dead queue
In commit e869b5462f83 ("blk-mq: Unregister debugfs attributes
earlier"), we shuffled the debugfs cleanup around so that the "state"
attribute was removed before we freed the blk-mq data structures.
However, later changes are going to undo that, so we need to explicitly
disallow running a dead queue.

[Omar: rebased and updated commit message]
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-05-04 08:23:39 -06:00
..
2016-10-28 08:45:17 -06:00
2017-04-07 09:40:52 -06:00
2017-04-21 07:56:23 -06:00
2017-04-21 07:56:23 -06:00
2017-04-21 07:56:23 -06:00
2017-04-19 17:38:36 -06:00
2017-02-08 13:43:06 -07:00