projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blkio: Recalculate the throttled bio dispatch time upon throttle limit change
[linux-2.6-block.git]
/
block
/
cfq-iosched.c
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index 684592621736f3056afdd3922c316748884e8cdd..86338d5d4d09e9f1edb66ad3f2204779c274bf2a 100644
(file)
--- a/
block/cfq-iosched.c
+++ b/
block/cfq-iosched.c
@@
-951,8
+951,8
@@
static inline struct cfq_group *cfqg_of_blkg(struct blkio_group *blkg)
return NULL;
}
-void
-
cfq_update_blkio_group_weight(struct blkio_group *blkg,
unsigned int weight)
+void
cfq_update_blkio_group_weight(void *key, struct blkio_group *blkg,
+
unsigned int weight)
{
cfqg_of_blkg(blkg)->weight = weight;
}