From d28779d94c596149608b0fa161fc6ec369baa898 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 21 Sep 2018 16:50:24 +0200 Subject: [PATCH] cgfsng: add missing __cgfsng_ops__ attributes Signed-off-by: Christian Brauner --- src/lxc/cgroups/cgfsng.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index a0bde6c03..0f3296919 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -1256,8 +1256,8 @@ static void remove_path_for_hierarchy(struct hierarchy *h, char *cgname, bool mo h->container_full_path = NULL; } -static inline bool cgfsng_monitor_create(struct cgroup_ops *ops, - struct lxc_handler *handler) +__cgfsng_ops__ static inline bool cgfsng_monitor_create(struct cgroup_ops *ops, + struct lxc_handler *handler) { char *monitor_cgroup; bool bret = false; @@ -1402,7 +1402,7 @@ __cgfsng_ops__ static bool __do_cgroup_enter(struct cgroup_ops *ops, pid_t pid, return true; } -static bool cgfsng_monitor_enter(struct cgroup_ops *ops, pid_t pid) +__cgfsng_ops__ static bool cgfsng_monitor_enter(struct cgroup_ops *ops, pid_t pid) { return __do_cgroup_enter(ops, pid, true); } -- 2.47.2