diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-02 07:04:22 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-13 09:15:51 -0500 |
commit | e097258f2eb4a91e7389ae69a3c87df111637a3f (patch) | |
tree | 165946bf54d97122b6dd98595e8298411a1bf239 /fs/nfsd/nfsxdr.c | |
parent | 65e10f6d0ab09ba95c2eb07cac43208692cf670e (diff) |
nfsd: Remove nfsd_luid, nfsd_lgid, nfsd_ruid and nfsd_rgid
These trivial macros that don't currently do anything are the last
vestiages of an old attempt at uid mapping that was removed from the
kernel in September of 2002. Remove them to make it clear what the
code is currently doing.
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/nfsd/nfsxdr.c')
-rw-r--r-- | fs/nfsd/nfsxdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfsxdr.c b/fs/nfsd/nfsxdr.c index 979b42106979..1e51e7034a89 100644 --- a/fs/nfsd/nfsxdr.c +++ b/fs/nfsd/nfsxdr.c | |||
@@ -151,8 +151,8 @@ encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, | |||
151 | *p++ = htonl(nfs_ftypes[type >> 12]); | 151 | *p++ = htonl(nfs_ftypes[type >> 12]); |
152 | *p++ = htonl((u32) stat->mode); | 152 | *p++ = htonl((u32) stat->mode); |
153 | *p++ = htonl((u32) stat->nlink); | 153 | *p++ = htonl((u32) stat->nlink); |
154 | *p++ = htonl((u32) nfsd_ruid(rqstp, stat->uid)); | 154 | *p++ = htonl((u32) stat->uid); |
155 | *p++ = htonl((u32) nfsd_rgid(rqstp, stat->gid)); | 155 | *p++ = htonl((u32) stat->gid); |
156 | 156 | ||
157 | if (S_ISLNK(type) && stat->size > NFS_MAXPATHLEN) { | 157 | if (S_ISLNK(type) && stat->size > NFS_MAXPATHLEN) { |
158 | *p++ = htonl(NFS_MAXPATHLEN); | 158 | *p++ = htonl(NFS_MAXPATHLEN); |