X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fnfsd%2Fexport.c;h=3eec30000f3fb3955e029283e8a26bee184b66ba;hb=bd66f3bbc369191279d18c21f305341c8bc9cafe;hp=4e0578121d9a621f0d36737582140e4573c464db;hpb=cd15654963cf7e4dd938a403de3ec5bcd09f8350;p=linux-2.6-omap-h63xx.git diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index 4e0578121d9..3eec30000f3 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c @@ -1066,9 +1066,11 @@ exp_pseudoroot(struct auth_domain *clp, struct svc_fh *fhp, rv = nfserr_perm; else if (IS_ERR(exp)) rv = nfserrno(PTR_ERR(exp)); - else + else { rv = fh_compose(fhp, exp, fsid_key->ek_dentry, NULL); + exp_put(exp); + } cache_put(&fsid_key->h, &svc_expkey_cache); return rv; }