]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgfsng: add missing __cgfsng_ops__ attributes 2606/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 21 Sep 2018 14:50:24 +0000 (16:50 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 21 Sep 2018 14:52:25 +0000 (16:52 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index a0bde6c03d1a0d7b8a78255fff1085cf2ab79e99..0f3296919ac7f5084dabfe9ea32d4039342ad135 100644 (file)
@@ -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);
 }