diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-02 04:04:22 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-13 06:15:51 -0800 |
commit | e097258f2eb4a91e7389ae69a3c87df111637a3f (patch) | |
tree | 165946bf54d97122b6dd98595e8298411a1bf239 /fs/nfsd/auth.h | |
parent | 65e10f6d0ab09ba95c2eb07cac43208692cf670e (diff) | |
download | linux-stable-e097258f2eb4a91e7389ae69a3c87df111637a3f.tar.gz linux-stable-e097258f2eb4a91e7389ae69a3c87df111637a3f.tar.bz2 linux-stable-e097258f2eb4a91e7389ae69a3c87df111637a3f.zip |
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/auth.h')
-rw-r--r-- | fs/nfsd/auth.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfsd/auth.h b/fs/nfsd/auth.h index 78b3c0e93822..53325a12ba62 100644 --- a/fs/nfsd/auth.h +++ b/fs/nfsd/auth.h @@ -1,6 +1,5 @@ /* * nfsd-specific authentication stuff. - * uid/gid mapping not yet implemented. * * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */ @@ -8,11 +7,6 @@ #ifndef LINUX_NFSD_AUTH_H #define LINUX_NFSD_AUTH_H -#define nfsd_luid(rq, uid) ((u32)(uid)) -#define nfsd_lgid(rq, gid) ((u32)(gid)) -#define nfsd_ruid(rq, uid) ((u32)(uid)) -#define nfsd_rgid(rq, gid) ((u32)(gid)) - /* * Set the current process's fsuid/fsgid etc to those of the NFS * client user |