Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400132

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

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] kernfs: kernfs_sop_show_path: don't return 0 after seq_dentry call
Date 2016-05-12 17:10 +0200
Message-ID <ry0pr-8tw-3@gated-at.bofh.it> (permalink)
References <rxMwa-2kB-7@gated-at.bofh.it> <rxRma-7la-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>
> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

Applied to cgroup/for-4.6-fixes.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: cgroup, kernfs: make mountinfo show properly scoped path for  cgroup namespaces Andrei Vagin <avagin@gmail.com> - 2016-05-12 02:20 +0200
  [PATCH] kernfs: kernfs_sop_show_path: don't return 0 after  seq_dentry call "Serge E. Hallyn" <serge.hallyn@ubuntu.com> - 2016-05-12 07:30 +0200
    Re: [PATCH] kernfs: kernfs_sop_show_path: don't return 0 after  seq_dentry call Tejun Heo <tj@kernel.org> - 2016-05-12 17:10 +0200

csiph-web