On 05/04/2017 09:31 AM, Omar Sandoval wrote: > From: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> > > 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@xxxxxx> > Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> > --- > block/blk-mq-debugfs.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)