VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / fs / nfsctl.c
index 12472dd..aaf9f56 100644 (file)
@@ -32,6 +32,7 @@ static struct file *do_open(char *name, int flags)
        nd.dentry = dget(nd.mnt->mnt_root);
        nd.last_type = LAST_ROOT;
        nd.flags = 0;
+       nd.depth = 0;
 
        error = path_walk(name, &nd);
        if (error)