diff --git a/[refs] b/[refs] index 36ccd7d0db2a..c75d8aaf845c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b5872b0dcc0501035d5ae53c60f8cbbb3798da8a +refs/heads/master: cd15654963cf7e4dd938a403de3ec5bcd09f8350 diff --git a/trunk/fs/nfsd/export.c b/trunk/fs/nfsd/export.c index c340be0a3f59..4e0578121d9a 100644 --- a/trunk/fs/nfsd/export.c +++ b/trunk/fs/nfsd/export.c @@ -422,7 +422,7 @@ static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) goto out; err = path_lookup(buf, 0, &nd); - if (err) goto out; + if (err) goto out_no_path; exp.h.flags = 0; exp.ex_client = dom; @@ -475,6 +475,7 @@ static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) out: if (nd.dentry) path_release(&nd); + out_no_path: if (dom) auth_domain_put(dom); kfree(buf);