Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304793
b: refs/heads/master
c: f6ea937
h: refs/heads/master
i:
  304791: 2cef639
v: v3
  • Loading branch information
Tejun Heo committed Apr 1, 2012
1 parent eaf4252 commit f35c8cb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db0416b64977cb0f382175608286cc80c7573e38
refs/heads/master: f6ea93723d0049ae5fbbb5292cb10c51d7a80801
20 changes: 10 additions & 10 deletions trunk/kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,16 @@ list_for_each_entry(_ss, &_root->subsys_list, sibling)
#define for_each_active_root(_root) \
list_for_each_entry(_root, &roots, root_list)

static inline struct cgroup *__d_cgrp(struct dentry *dentry)
{
return dentry->d_fsdata;
}

static inline struct cftype *__d_cft(struct dentry *dentry)
{
return dentry->d_fsdata;
}

/* the list of cgroups eligible for automatic release. Protected by
* release_list_lock */
static LIST_HEAD(release_list);
Expand Down Expand Up @@ -1704,16 +1714,6 @@ static struct file_system_type cgroup_fs_type = {

static struct kobject *cgroup_kobj;

static inline struct cgroup *__d_cgrp(struct dentry *dentry)
{
return dentry->d_fsdata;
}

static inline struct cftype *__d_cft(struct dentry *dentry)
{
return dentry->d_fsdata;
}

/**
* cgroup_path - generate the path of a cgroup
* @cgrp: the cgroup in question
Expand Down

0 comments on commit f35c8cb

Please sign in to comment.