]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
nfsd: minor fs/nfsd/auth.h cleanup
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 15 Nov 2007 22:06:58 +0000 (17:06 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:05 +0000 (16:42 -0500)
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>
fs/nfsd/auth.h

index 0fb9f7212195383e47c5354b33e7399ee29a75c0..78b3c0e9382279a5205cbb3e90dc86811a85a10c 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * include/linux/nfsd/auth.h
- *
  * nfsd-specific authentication stuff.
  * uid/gid mapping not yet implemented.
  *
@@ -10,8 +8,6 @@
 #ifndef LINUX_NFSD_AUTH_H
 #define LINUX_NFSD_AUTH_H
 
-#ifdef __KERNEL__
-
 #define nfsd_luid(rq, uid)     ((u32)(uid))
 #define nfsd_lgid(rq, gid)     ((u32)(gid))
 #define nfsd_ruid(rq, uid)     ((u32)(uid))
@@ -23,5 +19,4 @@
  */
 int nfsd_setuser(struct svc_rqst *, struct svc_export *);
 
-#endif /* __KERNEL__ */
 #endif /* LINUX_NFSD_AUTH_H */