From: Jens Axboe Date: Fri, 5 Jun 2015 16:57:37 +0000 (-0600) Subject: block: add blk_set_queue_dying() to blkdev.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f21c265cd5f7ae867cc0e86a1f6d5093f1963cc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git block: add blk_set_queue_dying() to blkdev.h We export this function and NVMe wants to use it, but for some reason it was never added to the block header. Do that. Signed-off-by: Jens Axboe --- diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index ccaa9aecd593..a31380c35918 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1024,6 +1024,7 @@ bool __must_check blk_get_queue(struct request_queue *); struct request_queue *blk_alloc_queue(gfp_t); struct request_queue *blk_alloc_queue_node(gfp_t, int); extern void blk_put_queue(struct request_queue *); +extern void blk_set_queue_dying(struct request_queue *); /* * block layer runtime pm functions