aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r--block/blk-cgroup.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
index 2c956a06339a..a491a6d56ecf 100644
--- a/block/blk-cgroup.h
+++ b/block/blk-cgroup.h
@@ -174,7 +174,7 @@ void blkiocg_update_dequeue_stats(struct blkio_group *blkg,
174 unsigned long dequeue); 174 unsigned long dequeue);
175void blkiocg_update_set_idle_time_stats(struct blkio_group *blkg); 175void blkiocg_update_set_idle_time_stats(struct blkio_group *blkg);
176void blkiocg_update_idle_time_stats(struct blkio_group *blkg); 176void blkiocg_update_idle_time_stats(struct blkio_group *blkg);
177void blkiocg_set_start_empty_time(struct blkio_group *blkg, bool ignore); 177void blkiocg_set_start_empty_time(struct blkio_group *blkg);
178 178
179#define BLKG_FLAG_FNS(name) \ 179#define BLKG_FLAG_FNS(name) \
180static inline void blkio_mark_blkg_##name( \ 180static inline void blkio_mark_blkg_##name( \
@@ -205,8 +205,7 @@ static inline void blkiocg_update_dequeue_stats(struct blkio_group *blkg,
205static inline void blkiocg_update_set_idle_time_stats(struct blkio_group *blkg) 205static inline void blkiocg_update_set_idle_time_stats(struct blkio_group *blkg)
206{} 206{}
207static inline void blkiocg_update_idle_time_stats(struct blkio_group *blkg) {} 207static inline void blkiocg_update_idle_time_stats(struct blkio_group *blkg) {}
208static inline void blkiocg_set_start_empty_time(struct blkio_group *blkg, 208static inline void blkiocg_set_start_empty_time(struct blkio_group *blkg) {}
209 bool ignore) {}
210#endif 209#endif
211 210
212#if defined(CONFIG_BLK_CGROUP) || defined(CONFIG_BLK_CGROUP_MODULE) 211#if defined(CONFIG_BLK_CGROUP) || defined(CONFIG_BLK_CGROUP_MODULE)