summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-05-18 15:02:27 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-05-18 15:02:27 -0700
commit038c4bf85ba2bca715db3ca4d190de3e5299c6c3 (patch)
tree087d4159caceecb334a322f5f1a3908d57159468 /block/blk-core.c
parentc853246539f37936f20a38c12e55d54fe72f1c2a (diff)
parentd95bca4fbde0a29a3d987c39fd17e414f1ed5ec6 (diff)
downloadlinux-038c4bf85ba2bca715db3ca4d190de3e5299c6c3.tar.bz2
Merge branch 'ib/5.17-cros-ec-keyb' into next
Merge changes to ChromeOS EC Keyboard driver.
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 1039515c99d6..779b4a1f66ac 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -50,6 +50,7 @@
#include "blk-mq-sched.h"
#include "blk-pm.h"
#include "blk-throttle.h"
+#include "blk-rq-qos.h"
struct dentry *blk_debugfs_root;
@@ -314,6 +315,9 @@ void blk_cleanup_queue(struct request_queue *q)
*/
blk_freeze_queue(q);
+ /* cleanup rq qos structures for queue without disk */
+ rq_qos_exit(q);
+
blk_queue_flag_set(QUEUE_FLAG_DEAD, q);
blk_sync_queue(q);