diff options
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk.h b/block/blk.h index 3ac833ec2adb..07d375183f31 100644 --- a/block/blk.h +++ b/block/blk.h | |||
@@ -331,8 +331,10 @@ extern ssize_t blk_throtl_sample_time_show(struct request_queue *q, char *page); | |||
331 | extern ssize_t blk_throtl_sample_time_store(struct request_queue *q, | 331 | extern ssize_t blk_throtl_sample_time_store(struct request_queue *q, |
332 | const char *page, size_t count); | 332 | const char *page, size_t count); |
333 | extern void blk_throtl_bio_endio(struct bio *bio); | 333 | extern void blk_throtl_bio_endio(struct bio *bio); |
334 | extern void blk_throtl_stat_add(struct request *rq, u64 time); | ||
334 | #else | 335 | #else |
335 | static inline void blk_throtl_bio_endio(struct bio *bio) { } | 336 | static inline void blk_throtl_bio_endio(struct bio *bio) { } |
337 | static inline void blk_throtl_stat_add(struct request *rq, u64 time) { } | ||
336 | #endif | 338 | #endif |
337 | 339 | ||
338 | #endif /* BLK_INTERNAL_H */ | 340 | #endif /* BLK_INTERNAL_H */ |