Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265104AbUF1RxU (ORCPT ); Mon, 28 Jun 2004 13:53:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265106AbUF1RxU (ORCPT ); Mon, 28 Jun 2004 13:53:20 -0400 Received: from dh132.citi.umich.edu ([141.211.133.132]:642 "EHLO lade.trondhjem.org") by vger.kernel.org with ESMTP id S265104AbUF1RxR convert rfc822-to-8bit (ORCPT ); Mon, 28 Jun 2004 13:53:17 -0400 Subject: Re: nfsroot oops 2.6.7-current From: Trond Myklebust To: Andre Noll , Alexander Viro Cc: linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Message-Id: <1088445193.4394.35.camel@lade.trondhjem.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 28 Jun 2004 13:53:13 -0400 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 969 Lines: 31 Yep, and there's probably one missing in fs/nfsctl.c:do_open() too. Al? Cheers, Trond P? m? , 28/06/2004 klokka 13:38, skreiv Andre Noll: > Hi > > Al's current changes to struct nameidata broke nfsroot for my discless > clients (oops in nfs_fill_super). The patch below fixes this problem > for me. > > Andre > > diff -u -r1.19 rpc_pipe.c > --- linux-2.5/net/sunrpc/rpc_pipe.c 31 May 2004 03:06:56 -0000 1.19 > +++ linux-2.5/net/sunrpc/rpc_pipe.c 28 Jun 2004 17:10:51 -0000 > @@ -433,6 +433,7 @@ > nd->dentry = dget(rpc_mount->mnt_root); > nd->last_type = LAST_ROOT; > nd->flags = LOOKUP_PARENT; > + nd->depth = 0; > > if (path_walk(path, nd)) { > printk(KERN_WARNING "%s: %s failed to find path %s\n", - 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/