Re: [PATCH] kernfs: kernfs_sop_show_path: don't return 0 after seq_dentry call

2016-05-12 Thread Tejun Heo
On Thu, May 12, 2016 at 12:29:45AM -0500, Serge E. Hallyn wrote: > Our caller expects 0 on success, not >0. > > This fixes a bug in the patch > > cgroup, kernfs: make mountinfo show properly scoped path for cgroup > namespaces > > where /sys does not show up in mountinfo, breaking criu.

Re: [PATCH] kernfs: kernfs_sop_show_path: don't return 0 after seq_dentry call

2016-05-12 Thread Tejun Heo
On Thu, May 12, 2016 at 12:29:45AM -0500, Serge E. Hallyn wrote: > Our caller expects 0 on success, not >0. > > This fixes a bug in the patch > > cgroup, kernfs: make mountinfo show properly scoped path for cgroup > namespaces > > where /sys does not show up in mountinfo, breaking criu.

[PATCH] kernfs: kernfs_sop_show_path: don't return 0 after seq_dentry call

2016-05-11 Thread Serge E. Hallyn
Our caller expects 0 on success, not >0. This fixes a bug in the patch cgroup, kernfs: make mountinfo show properly scoped path for cgroup namespaces where /sys does not show up in mountinfo, breaking criu. Thanks for catching this, Andrei. Reported-by: Andrei Vagin

[PATCH] kernfs: kernfs_sop_show_path: don't return 0 after seq_dentry call

2016-05-11 Thread Serge E. Hallyn
Our caller expects 0 on success, not >0. This fixes a bug in the patch cgroup, kernfs: make mountinfo show properly scoped path for cgroup namespaces where /sys does not show up in mountinfo, breaking criu. Thanks for catching this, Andrei. Reported-by: Andrei Vagin Signed-off-by: