diff options
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index 66253a7c8ff4..222063d36355 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h | |||
@@ -115,7 +115,6 @@ extern int blkcg_activate_policy(struct request_queue *q, | |||
115 | const struct blkio_policy_type *pol); | 115 | const struct blkio_policy_type *pol); |
116 | extern void blkcg_deactivate_policy(struct request_queue *q, | 116 | extern void blkcg_deactivate_policy(struct request_queue *q, |
117 | const struct blkio_policy_type *pol); | 117 | const struct blkio_policy_type *pol); |
118 | extern void blkg_destroy_all(struct request_queue *q, bool destroy_root); | ||
119 | 118 | ||
120 | void blkcg_print_blkgs(struct seq_file *sf, struct blkio_cgroup *blkcg, | 119 | void blkcg_print_blkgs(struct seq_file *sf, struct blkio_cgroup *blkcg, |
121 | u64 (*prfill)(struct seq_file *, void *, int), | 120 | u64 (*prfill)(struct seq_file *, void *, int), |
@@ -334,8 +333,6 @@ static inline int blkcg_activate_policy(struct request_queue *q, | |||
334 | const struct blkio_policy_type *pol) { return 0; } | 333 | const struct blkio_policy_type *pol) { return 0; } |
335 | static inline void blkcg_deactivate_policy(struct request_queue *q, | 334 | static inline void blkcg_deactivate_policy(struct request_queue *q, |
336 | const struct blkio_policy_type *pol) { } | 335 | const struct blkio_policy_type *pol) { } |
337 | static inline void blkg_destroy_all(struct request_queue *q, | ||
338 | bool destory_root) { } | ||
339 | 336 | ||
340 | static inline void *blkg_to_pdata(struct blkio_group *blkg, | 337 | static inline void *blkg_to_pdata(struct blkio_group *blkg, |
341 | struct blkio_policy_type *pol) { return NULL; } | 338 | struct blkio_policy_type *pol) { return NULL; } |
@@ -354,8 +351,7 @@ extern struct blkio_cgroup *bio_blkio_cgroup(struct bio *bio); | |||
354 | extern struct blkio_group *blkg_lookup(struct blkio_cgroup *blkcg, | 351 | extern struct blkio_group *blkg_lookup(struct blkio_cgroup *blkcg, |
355 | struct request_queue *q); | 352 | struct request_queue *q); |
356 | struct blkio_group *blkg_lookup_create(struct blkio_cgroup *blkcg, | 353 | struct blkio_group *blkg_lookup_create(struct blkio_cgroup *blkcg, |
357 | struct request_queue *q, | 354 | struct request_queue *q); |
358 | bool for_root); | ||
359 | #else | 355 | #else |
360 | struct cgroup; | 356 | struct cgroup; |
361 | static inline struct blkio_cgroup * | 357 | static inline struct blkio_cgroup * |