X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fnfsctl.c;h=0b14938b5b627ceac85590762fb50ec68f1c872f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=12472dd2a99d697516ba4020d098beffde1029e6;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/fs/nfsctl.c b/fs/nfsctl.c index 12472dd2a..0b14938b5 100644 --- a/fs/nfsctl.c +++ b/fs/nfsctl.c @@ -13,6 +13,7 @@ #include #include #include +#include #include /* @@ -32,6 +33,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)