[PATCH 4/5] cgroup: Export cgroup_is_descendant()

From: Jan Kara
Date: Thu Jan 07 2016 - 10:28:28 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 470f6536b9e8..c4d74c10dfcb 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -483,6 +483,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.6.2

--
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/