lkml.org 
[lkml]   [2014]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernfs: fix kernfs_node_from_dentry()
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


\
 
 \ /
  Last update: 2014-02-15 00:01    [W:0.041 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site