diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2011-06-05 23:07:54 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-06-05 23:57:25 -0400 |
commit | 8aea45451b252e4be09ee9974c5658bb47c81625 (patch) | |
tree | 7b838405229f32fb7937fac49c95b2d1294fb59b /block/cfq-iosched.c | |
parent | 9b50902db5eb8a220160fb89e95aa11967998d12 (diff) |
CFQ: make two functions static
Correctly suggested by sparse.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r-- | block/cfq-iosched.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 000719c484c3..2b2d7a9a42ab 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -1004,8 +1004,8 @@ static inline struct cfq_group *cfqg_of_blkg(struct blkio_group *blkg) | |||
1004 | return NULL; | 1004 | return NULL; |
1005 | } | 1005 | } |
1006 | 1006 | ||
1007 | void cfq_update_blkio_group_weight(void *key, struct blkio_group *blkg, | 1007 | static void cfq_update_blkio_group_weight(void *key, struct blkio_group *blkg, |
1008 | unsigned int weight) | 1008 | unsigned int weight) |
1009 | { | 1009 | { |
1010 | struct cfq_group *cfqg = cfqg_of_blkg(blkg); | 1010 | struct cfq_group *cfqg = cfqg_of_blkg(blkg); |
1011 | cfqg->new_weight = weight; | 1011 | cfqg->new_weight = weight; |
@@ -1234,7 +1234,7 @@ static void cfq_release_cfq_groups(struct cfq_data *cfqd) | |||
1234 | * it should not be NULL as even if elevator was exiting, cgroup deltion | 1234 | * it should not be NULL as even if elevator was exiting, cgroup deltion |
1235 | * path got to it first. | 1235 | * path got to it first. |
1236 | */ | 1236 | */ |
1237 | void cfq_unlink_blkio_group(void *key, struct blkio_group *blkg) | 1237 | static void cfq_unlink_blkio_group(void *key, struct blkio_group *blkg) |
1238 | { | 1238 | { |
1239 | unsigned long flags; | 1239 | unsigned long flags; |
1240 | struct cfq_data *cfqd = key; | 1240 | struct cfq_data *cfqd = key; |