summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-05-04 09:31:29 +0200
committerJens Axboe <axboe@fb.com>2017-05-04 16:23:39 +0200
commit18d4d7d0571f5acc9de638ea3a33e8064deaceca (patch)
tree928660479764e5f64aa60ea5492dde310de268d7 /block/blk-mq.h
parentblk-mq-debugfs: get rid of a bunch of boilerplate (diff)
downloadlinux-18d4d7d0571f5acc9de638ea3a33e8064deaceca.tar.xz
linux-18d4d7d0571f5acc9de638ea3a33e8064deaceca.zip
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>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions