VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / net / sunrpc / rpc_pipe.c
index 8a8c4eb..95ce716 100644 (file)
@@ -433,6 +433,7 @@ rpc_lookup_parent(char *path, struct nameidata *nd)
        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",