lkml.org 
[lkml]   [2004]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectnfsroot oops 2.6.7-current
Date
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",
--
Andre Noll, http://www.mathematik.tu-darmstadt.de/~noll
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.064 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site