diff options
author | Ming Lei <ming.lei@canonical.com> | 2014-09-25 11:23:44 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-25 17:22:41 -0400 |
commit | ba483388e3058b3e412632a84e6bf1f134beaf3d (patch) | |
tree | fc54df315e58958208359bd995fdb6df5115dcb2 /block/blk.h | |
parent | 7c94e1c157a227837b04f02f5edeff8301410ba2 (diff) |
block: remove blk_init_flush() and its pair
Now mission of the two helpers is over, and just call
blk_alloc_flush_queue() and blk_free_flush_queue() directly.
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk.h b/block/blk.h index 833c4ac6c4eb..9eaa6e91b13f 100644 --- a/block/blk.h +++ b/block/blk.h | |||
@@ -39,8 +39,8 @@ static inline void __blk_get_queue(struct request_queue *q) | |||
39 | kobject_get(&q->kobj); | 39 | kobject_get(&q->kobj); |
40 | } | 40 | } |
41 | 41 | ||
42 | int blk_init_flush(struct request_queue *q); | 42 | struct blk_flush_queue *blk_alloc_flush_queue(struct request_queue *q); |
43 | void blk_exit_flush(struct request_queue *q); | 43 | void blk_free_flush_queue(struct blk_flush_queue *fq); |
44 | 44 | ||
45 | int blk_init_rl(struct request_list *rl, struct request_queue *q, | 45 | int blk_init_rl(struct request_list *rl, struct request_queue *q, |
46 | gfp_t gfp_mask); | 46 | gfp_t gfp_mask); |