X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fnfsctl.c;h=aed8145d9087e053a9349a46c07bd03ac6b02ed5;hb=51cc50685a4275c6a02653670af9f108a64e01cf;hp=49ef0b4d4439d51905be6edd66612e7f48d3c2a7;hpb=4ac9137858e08a19f29feac4e1f4df7c268b0ba5;p=linux-2.6 diff --git a/fs/nfsctl.c b/fs/nfsctl.c index 49ef0b4d44..aed8145d90 100644 --- a/fs/nfsctl.c +++ b/fs/nfsctl.c @@ -43,7 +43,7 @@ static struct file *do_open(char *name, int flags) if (!error) return dentry_open(nd.path.dentry, nd.path.mnt, flags); - path_release(&nd); + path_put(&nd.path); return ERR_PTR(error); }