X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fnfsctl.c;h=aed8145d9087e053a9349a46c07bd03ac6b02ed5;hb=289f8e27ed435dcbefad132def06f4e84351e94f;hp=49ef0b4d4439d51905be6edd66612e7f48d3c2a7;hpb=4ac9137858e08a19f29feac4e1f4df7c268b0ba5;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/nfsctl.c b/fs/nfsctl.c index 49ef0b4d4439..aed8145d9087 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); }