Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753226AbaBNWDX (ORCPT ); Fri, 14 Feb 2014 17:03:23 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45705 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752354AbaBNWDU (ORCPT ); Fri, 14 Feb 2014 17:03:20 -0500 Date: Fri, 14 Feb 2014 14:04:40 -0800 From: Greg Kroah-Hartman To: Tejun Heo Cc: Li Zefan , Cgroups , LKML Subject: Re: [PATCH] kernfs: fix kernfs_node_from_dentry() Message-ID: <20140214220440.GA3998@kroah.com> References: <52FDDA77.6070606@huawei.com> <20140214160301.GE31544@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140214160301.GE31544@htj.dyndns.org> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 > > Acked-by: Tejun Heo Is this needed for 3.14-final or 3.15-rc1? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/