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

From: Tejun Heo
Date: Thu May 12 2016 - 11:03:26 EST


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.
>
> Thanks for catching this, Andrei.
>
> Reported-by: Andrei Vagin <avagin@xxxxxxxxx>
> Signed-off-by: Serge Hallyn <serge.hallyn@xxxxxxxxxx>

Applied to cgroup/for-4.6-fixes.

Thanks.

--
tejun