* [PATCH 1/5] CFQ: make two functions static
@ 2011-06-05 16:26 Paul Bolle
2011-06-06 3:00 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2011-06-05 16:26 UTC (permalink / raw)
To: Jens Axboe; +Cc: Paul E. McKenney, Vivek Goyal, linux-kernel
Correctly suggested by sparse.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
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 3b87b95..79606f9 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -1006,8 +1006,8 @@ static inline struct cfq_group *cfqg_of_blkg(struct blkio_group *blkg)
return NULL;
}
-void cfq_update_blkio_group_weight(void *key, struct blkio_group *blkg,
- unsigned int weight)
+static void cfq_update_blkio_group_weight(void *key, struct blkio_group *blkg,
+ unsigned int weight)
{
struct cfq_group *cfqg = cfqg_of_blkg(blkg);
cfqg->new_weight = weight;
@@ -1165,7 +1165,7 @@ static void cfq_release_cfq_groups(struct cfq_data *cfqd)
* it should not be NULL as even if elevator was exiting, cgroup deltion
* path got to it first.
*/
-void cfq_unlink_blkio_group(void *key, struct blkio_group *blkg)
+static void cfq_unlink_blkio_group(void *key, struct blkio_group *blkg)
{
unsigned long flags;
struct cfq_data *cfqd = key;
--
1.7.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-06 3:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 16:26 [PATCH 1/5] CFQ: make two functions static Paul Bolle
2011-06-06 3:00 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox