Skip to content

Commit

Permalink
cgroups: s/cg_init()/__cgroup_init()/g
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 16, 2021
1 parent 136b349 commit 7414bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/cgroups/cgfsng.c
Expand Up @@ -3537,7 +3537,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative,
return CGROUP2_SUPER_MAGIC;
}

static int cg_init(struct cgroup_ops *ops, struct lxc_conf *conf)
static int __cgroup_init(struct cgroup_ops *ops, struct lxc_conf *conf)
{
int ret;
const char *tmp;
Expand Down Expand Up @@ -3590,7 +3590,7 @@ struct cgroup_ops *cgfsng_ops_init(struct lxc_conf *conf)

cgfsng_ops->cgroup_layout = CGROUP_LAYOUT_UNKNOWN;

if (cg_init(cgfsng_ops, conf))
if (__cgroup_init(cgfsng_ops, conf))
return NULL;

cgfsng_ops->data_init = cgfsng_data_init;
Expand Down

0 comments on commit 7414bc7

Please sign in to comment.