]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - include/linux/blk-mq.h
blk-mq: don't handle failure in .get_budget
[thirdparty/kernel/stable.git] / include / linux / blk-mq.h
index f2e3079eecdd8607edf561fbbd179fbba33e8981..674641527da79c9c86be42b0a2397bf2898625b5 100644 (file)
@@ -92,7 +92,7 @@ struct blk_mq_queue_data {
 
 typedef blk_status_t (queue_rq_fn)(struct blk_mq_hw_ctx *,
                const struct blk_mq_queue_data *);
-typedef blk_status_t (get_budget_fn)(struct blk_mq_hw_ctx *);
+typedef bool (get_budget_fn)(struct blk_mq_hw_ctx *);
 typedef void (put_budget_fn)(struct blk_mq_hw_ctx *);
 typedef enum blk_eh_timer_return (timeout_fn)(struct request *, bool);
 typedef int (init_hctx_fn)(struct blk_mq_hw_ctx *, void *, unsigned int);