[PATCH] cgroup: Export cgroup_is_descendant()
From: Jan Kara
Date: Thu Nov 26 2015 - 07:29:21 EST
CFQ IO scheduler will use cgroup_is_descendant() to decide whether one
queue can preempt another once.
Signed-off-by: Jan Kara <jack@xxxxxxx>
---
kernel/cgroup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index f1603c153890..6b61f847b040 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -477,6 +477,7 @@ bool cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor)
}
return false;
}
+EXPORT_SYMBOL_GPL(cgroup_is_descendant);
static int notify_on_release(const struct cgroup *cgrp)
{
--
2.1.4
--liOOAslEiF7prFVr--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/