All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Tejun Heo <tj@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>, Cgroups <cgroups@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] kernfs: fix kernfs_node_from_dentry()
Date: Fri, 14 Feb 2014 14:04:40 -0800	[thread overview]
Message-ID: <20140214220440.GA3998@kroah.com> (raw)
In-Reply-To: <20140214160301.GE31544@htj.dyndns.org>

On Fri, Feb 14, 2014 at 11:03:01AM -0500, Tejun Heo wrote:
> On Fri, Feb 14, 2014 at 04:57:27PM +0800, Li Zefan wrote:
> > Currently kernfs_node_from_dentry() returns NULL for root dentry,
> > because root_dentry->d_op == NULL.
> > 
> > Due to this bug cgroupstats_build() returns -EINVAL for root cgroup.
> > 
> >   # mount -t cgroup -o cpuacct /cgroup
> >   # Documentation/accounting/getdelays -C /cgroup
> >   fatal reply error,  errno -22
> > 
> > With this fix:
> > 
> >   # Documentation/accounting/getdelays -C /cgroup
> >   sleeping 305, blocked 0, running 1, stopped 0, uninterruptible 1
> > 
> > Signed-off-by: Li Zefan <lizefan@huawei.com>
> 
> Acked-by: Tejun Heo <tj@kernel.org>

Is this needed for 3.14-final or 3.15-rc1?

thanks,

greg k-h

  reply	other threads:[~2014-02-14 22:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14  8:57 [PATCH] kernfs: fix kernfs_node_from_dentry() Li Zefan
2014-02-14  8:57 ` Li Zefan
     [not found] ` <52FDDA77.6070606-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-02-14 16:03   ` Tejun Heo
2014-02-14 16:03     ` Tejun Heo
2014-02-14 22:04     ` Greg Kroah-Hartman [this message]
2014-02-14 22:04       ` Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140214220440.GA3998@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=cgroups@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.