|
@@ -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)
|
|
if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0)
|
|
goto out;
|
|
goto out;
|
|
err = path_lookup(buf, 0, &nd);
|
|
err = path_lookup(buf, 0, &nd);
|
|
- if (err) goto out;
|
|
|
|
|
|
+ if (err) goto out_no_path;
|
|
|
|
|
|
exp.h.flags = 0;
|
|
exp.h.flags = 0;
|
|
exp.ex_client = dom;
|
|
exp.ex_client = dom;
|
|
@@ -475,6 +475,7 @@ static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)
|
|
out:
|
|
out:
|
|
if (nd.dentry)
|
|
if (nd.dentry)
|
|
path_release(&nd);
|
|
path_release(&nd);
|
|
|
|
+ out_no_path:
|
|
if (dom)
|
|
if (dom)
|
|
auth_domain_put(dom);
|
|
auth_domain_put(dom);
|
|
kfree(buf);
|
|
kfree(buf);
|