aboutsummaryrefslogtreecommitdiffstats
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r--block/cfq-iosched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index b00ca4c86e25..7f3f343b0c65 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -961,7 +961,7 @@ cfq_find_alloc_cfqg(struct cfq_data *cfqd, struct cgroup *cgroup, int create)
961 unsigned int major, minor; 961 unsigned int major, minor;
962 962
963 /* Do we need to take this reference */ 963 /* Do we need to take this reference */
964 if (!css_tryget(&blkcg->css)) 964 if (!blkiocg_css_tryget(blkcg))
965 return NULL;; 965 return NULL;;
966 966
967 cfqg = cfqg_of_blkg(blkiocg_lookup_group(blkcg, key)); 967 cfqg = cfqg_of_blkg(blkiocg_lookup_group(blkcg, key));
@@ -994,7 +994,7 @@ cfq_find_alloc_cfqg(struct cfq_data *cfqd, struct cgroup *cgroup, int create)
994 hlist_add_head(&cfqg->cfqd_node, &cfqd->cfqg_list); 994 hlist_add_head(&cfqg->cfqd_node, &cfqd->cfqg_list);
995 995
996done: 996done:
997 css_put(&blkcg->css); 997 blkiocg_css_put(blkcg);
998 return cfqg; 998 return cfqg;
999} 999}
1000 1000