|
@@ -167,8 +167,8 @@ encode_fattr3(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp,
|
|
|
*p++ = htonl(nfs3_ftypes[(stat->mode & S_IFMT) >> 12]);
|
|
|
*p++ = htonl((u32) stat->mode);
|
|
|
*p++ = htonl((u32) stat->nlink);
|
|
|
- *p++ = htonl((u32) nfsd_ruid(rqstp, stat->uid));
|
|
|
- *p++ = htonl((u32) nfsd_rgid(rqstp, stat->gid));
|
|
|
+ *p++ = htonl((u32) stat->uid);
|
|
|
+ *p++ = htonl((u32) stat->gid);
|
|
|
if (S_ISLNK(stat->mode) && stat->size > NFS3_MAXPATHLEN) {
|
|
|
p = xdr_encode_hyper(p, (u64) NFS3_MAXPATHLEN);
|
|
|
} else {
|