diff options
author | Josef Bacik <jbacik@fb.com> | 2018-07-03 11:14:59 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-09 09:07:54 -0600 |
commit | c1c80384c8f47021a01a0cc42894a06bed2b801b (patch) | |
tree | e3fb3b3ddf6c58eea32d49989875ca39c0ba382c /block/blk-wbt.h | |
parent | a79050434b45959f397042080fd1d70ffa9bd9df (diff) | |
download | linux-c1c80384c8f47021a01a0cc42894a06bed2b801b.tar.bz2 |
block: remove external dependency on wbt_flags
We don't really need to save this stuff in the core block code, we can
just pass the bio back into the helpers later on to derive the same
flags and update the rq->wbt_flags appropriately.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.h')
-rw-r--r-- | block/blk-wbt.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/block/blk-wbt.h b/block/blk-wbt.h index 53b20a58c0a2..f47218d5b3b2 100644 --- a/block/blk-wbt.h +++ b/block/blk-wbt.h @@ -87,11 +87,6 @@ static inline unsigned int wbt_inflight(struct rq_wb *rwb) #ifdef CONFIG_BLK_WBT -static inline void wbt_track(struct request *rq, enum wbt_flags flags) -{ - rq->wbt_flags |= flags; -} - int wbt_init(struct request_queue *); void wbt_update_limits(struct request_queue *); void wbt_disable_default(struct request_queue *); |