diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-11-15 17:06:58 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-02-01 16:42:05 -0500 |
commit | 1f69f172c73a2bf0bf55da9346da8dccea9035cf (patch) | |
tree | 4e0f04634415052ef0978168b6b737565b3f36bd /fs/nfsd | |
parent | 2e8138a274d81d87591db0803b1e81f4284ff935 (diff) |
nfsd: minor fs/nfsd/auth.h cleanup
While we're here, let's remove the redundant (and now wrong) pathname in
the comment, and the #ifdef __KERNEL__'s.
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/auth.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfsd/auth.h b/fs/nfsd/auth.h index 0fb9f7212195..78b3c0e93822 100644 --- a/fs/nfsd/auth.h +++ b/fs/nfsd/auth.h | |||
@@ -1,6 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * include/linux/nfsd/auth.h | ||
3 | * | ||
4 | * nfsd-specific authentication stuff. | 2 | * nfsd-specific authentication stuff. |
5 | * uid/gid mapping not yet implemented. | 3 | * uid/gid mapping not yet implemented. |
6 | * | 4 | * |
@@ -10,8 +8,6 @@ | |||
10 | #ifndef LINUX_NFSD_AUTH_H | 8 | #ifndef LINUX_NFSD_AUTH_H |
11 | #define LINUX_NFSD_AUTH_H | 9 | #define LINUX_NFSD_AUTH_H |
12 | 10 | ||
13 | #ifdef __KERNEL__ | ||
14 | |||
15 | #define nfsd_luid(rq, uid) ((u32)(uid)) | 11 | #define nfsd_luid(rq, uid) ((u32)(uid)) |
16 | #define nfsd_lgid(rq, gid) ((u32)(gid)) | 12 | #define nfsd_lgid(rq, gid) ((u32)(gid)) |
17 | #define nfsd_ruid(rq, uid) ((u32)(uid)) | 13 | #define nfsd_ruid(rq, uid) ((u32)(uid)) |
@@ -23,5 +19,4 @@ | |||
23 | */ | 19 | */ |
24 | int nfsd_setuser(struct svc_rqst *, struct svc_export *); | 20 | int nfsd_setuser(struct svc_rqst *, struct svc_export *); |
25 | 21 | ||
26 | #endif /* __KERNEL__ */ | ||
27 | #endif /* LINUX_NFSD_AUTH_H */ | 22 | #endif /* LINUX_NFSD_AUTH_H */ |