]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfsd/export.c
[PATCH] knfsd: nfsd4: nfsd4_probe_callback cleanup
[linux-2.6-omap-h63xx.git] / fs / nfsd / export.c
index c340be0a3f59b1826ef724ac57176628d2812411..4e0578121d9a621f0d36737582140e4573c464db 100644 (file)
@@ -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);