X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fnfsctl.c;h=aaf9f5640eb33e98db6570e4b53f58dfb0153402;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=12472dd2a99d697516ba4020d098beffde1029e6;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/nfsctl.c b/fs/nfsctl.c index 12472dd2a..aaf9f5640 100644 --- a/fs/nfsctl.c +++ b/fs/nfsctl.c @@ -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)