linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / nfsd / nfs4proc.c
index b0e095e..ca8a4c4 100644 (file)
@@ -288,6 +288,8 @@ nfsd4_putrootfh(struct svc_rqst *rqstp, struct svc_fh *current_fh)
        fh_put(current_fh);
        status = exp_pseudoroot(rqstp->rq_client, current_fh,
                              &rqstp->rq_chandle);
+       if (!status)
+               status = nfserrno(nfsd_setuser(rqstp, current_fh->fh_export));
        return status;
 }