Re: [PATCH 3/3] cgroup: set visible flag only after we've mounted the default root

2014-06-03 Thread Tejun Heo
On Tue, Jun 03, 2014 at 12:05:59PM +0800, Li Zefan wrote: > This fixes the failure path, so we won't set the visible flag though > the mount is failed. Same rationale. If the userland knows about it, there's no point in hiding it. Thanks. -- tejun -- To unsubscribe from this list: send the

Re: [PATCH 3/3] cgroup: set visible flag only after we've mounted the default root

2014-06-03 Thread Tejun Heo
On Tue, Jun 03, 2014 at 12:05:59PM +0800, Li Zefan wrote: This fixes the failure path, so we won't set the visible flag though the mount is failed. Same rationale. If the userland knows about it, there's no point in hiding it. Thanks. -- tejun -- To unsubscribe from this list: send the line

[PATCH 3/3] cgroup: set visible flag only after we've mounted the default root

2014-06-02 Thread Li Zefan
This fixes the failure path, so we won't set the visible flag though the mount is failed. Signed-off-by: Li Zefan --- kernel/cgroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index dabc486..0b6b44e 100644 --- a/kernel/cgroup.c +++

[PATCH 3/3] cgroup: set visible flag only after we've mounted the default root

2014-06-02 Thread Li Zefan
This fixes the failure path, so we won't set the visible flag though the mount is failed. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index dabc486..0b6b44e 100644 ---