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
cgroup: rename css_tryget*() to css_tryget_online*()
[linux-2.6-block.git]
/
block
/
blk-cgroup.c
diff --git
a/block/blk-cgroup.c
b/block/blk-cgroup.c
index 1039fb9ff5f5f998628884dedab422c9b405a36c..9f5bce33e6fe4b6b9f5eda880b30e0826b2a75ee 100644
(file)
--- a/
block/blk-cgroup.c
+++ b/
block/blk-cgroup.c
@@
-185,7
+185,7
@@
static struct blkcg_gq *blkg_create(struct blkcg *blkcg,
lockdep_assert_held(q->queue_lock);
/* blkg holds a reference to blkcg */
- if (!css_tryget(&blkcg->css)) {
+ if (!css_tryget
_online
(&blkcg->css)) {
ret = -EINVAL;
goto err_free_blkg;
}