X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=block%2Fblk.h;h=cb01429c162c6f950a3edc3b4274f282f2e648b4;hb=98d006eb49cba379c50536b5de24f05df927c126;hp=4b885c0f6708d96d73441006a4f87820e13c576a;hpb=47a7ce62889a52841bcc8cec98dd3bf45af3b4f0;p=linux-2.6-microblaze.git diff --git a/block/blk.h b/block/blk.h index 4b885c0f6708..cb01429c162c 100644 --- a/block/blk.h +++ b/block/blk.h @@ -44,11 +44,7 @@ static inline void __blk_get_queue(struct request_queue *q) kobject_get(&q->kobj); } -static inline bool -is_flush_rq(struct request *req, struct blk_mq_hw_ctx *hctx) -{ - return hctx->fq->flush_rq == req; -} +bool is_flush_rq(struct request *req); struct blk_flush_queue *blk_alloc_flush_queue(int node, int cmd_size, gfp_t flags);