mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
2e8138a274
commit
1f69f172c7
1 changed files with 0 additions and 5 deletions
|
@ -1,6 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* include/linux/nfsd/auth.h
|
|
||||||
*
|
|
||||||
* nfsd-specific authentication stuff.
|
* nfsd-specific authentication stuff.
|
||||||
* uid/gid mapping not yet implemented.
|
* uid/gid mapping not yet implemented.
|
||||||
*
|
*
|
||||||
|
@ -10,8 +8,6 @@
|
||||||
#ifndef LINUX_NFSD_AUTH_H
|
#ifndef LINUX_NFSD_AUTH_H
|
||||||
#define LINUX_NFSD_AUTH_H
|
#define LINUX_NFSD_AUTH_H
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
|
||||||
|
|
||||||
#define nfsd_luid(rq, uid) ((u32)(uid))
|
#define nfsd_luid(rq, uid) ((u32)(uid))
|
||||||
#define nfsd_lgid(rq, gid) ((u32)(gid))
|
#define nfsd_lgid(rq, gid) ((u32)(gid))
|
||||||
#define nfsd_ruid(rq, uid) ((u32)(uid))
|
#define nfsd_ruid(rq, uid) ((u32)(uid))
|
||||||
|
@ -23,5 +19,4 @@
|
||||||
*/
|
*/
|
||||||
int nfsd_setuser(struct svc_rqst *, struct svc_export *);
|
int nfsd_setuser(struct svc_rqst *, struct svc_export *);
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
|
||||||
#endif /* LINUX_NFSD_AUTH_H */
|
#endif /* LINUX_NFSD_AUTH_H */
|
||||||
|
|
Loading…
Reference in a new issue