We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29baef7 commit 81ea42bCopy full SHA for 81ea42b
block/blk-mq.c
@@ -4069,8 +4069,9 @@ EXPORT_SYMBOL(blk_mq_init_queue);
4069
* blk_mq_destroy_queue - shutdown a request queue
4070
* @q: request queue to shutdown
4071
*
4072
- * This shuts down a request queue allocated by blk_mq_init_queue() and drops
4073
- * the initial reference. All future requests will failed with -ENODEV.
+ * This shuts down a request queue allocated by blk_mq_init_queue(). All future
+ * requests will be failed with -ENODEV. The caller is responsible for dropping
4074
+ * the reference from blk_mq_init_queue() by calling blk_put_queue().
4075
4076
* Context: can sleep
4077
*/
0 commit comments