Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761562AbXJZJoM (ORCPT ); Fri, 26 Oct 2007 05:44:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760198AbXJZJnB (ORCPT ); Fri, 26 Oct 2007 05:43:01 -0400 Received: from gate.crashing.org ([63.228.1.57]:50634 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760327AbXJZJm7 (ORCPT ); Fri, 26 Oct 2007 05:42:59 -0400 In-Reply-To: <1193335168.7705.39.camel@heimdal.trondhjem.org> References: <1193188894.27073.20.camel@heimdal.trondhjem.org> <1954B8FA-6E29-4FB7-86B0-EA43AF8F2AAF@kernel.crashing.org> <2B2C1270-60FB-4830-A62C-D0357D2E1FB3@kernel.crashing.org> <1193335168.7705.39.camel@heimdal.trondhjem.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0CC518FE-47B0-4A32-B682-1CA5F7CBAC2F@kernel.crashing.org> Cc: Linux Kernel Mailing List , nfs@lists.sourceforge.net, neilb@suse.de, bfields@fieldses.org, chuck.lever@oracle.com Content-Transfer-Encoding: 7bit From: Kumar Gala Subject: Re: LTP ustat01 test fails on NFSROOT Date: Fri, 26 Oct 2007 04:42:28 -0500 To: Trond Myklebust X-Mailer: Apple Mail (2.752.2) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1159 Lines: 37 On Oct 25, 2007, at 12:59 PM, Trond Myklebust wrote: > Could you please try the following patch? > > Cheers > Trond > --------------------------------- CUT HERE > ----------------------------- > From: Trond Myklebust > Date: Thu, 25 Oct 2007 13:56:10 -0400 > NFS: Fix the ustat() regression > > Since 2.6.18, the superblock sb->s_root has been a dummy dentry with a > dummy inode. This breaks ustat(), which actually uses sb->s_root in a > vfstat() call. > > Fix this by making the s_root a dummy alias to the directory inode > that was > used when creating the superblock. > > Signed-off-by: Trond Myklebust > --- > > fs/nfs/getroot.c | 81 +++++++++++++++++ > +------------------------------------ > 1 files changed, 27 insertions(+), 54 deletions(-) Any reason not to send this to Linus as a bug fix for 2.6.24 (and possibly stable)? - k - 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/