aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfsd/auth.h5
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 */
24int nfsd_setuser(struct svc_rqst *, struct svc_export *); 20int 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 */