]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
NFSD: Strip __KERNEL__ testing from unexported header files.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Wed, 2 Apr 2008 01:48:37 +0000 (21:48 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:41 +0000 (16:13 -0400)
Also, sort the Kbuild file.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/nfsd/Kbuild
include/linux/nfsd/cache.h
include/linux/nfsd/nfsd.h

index e726fc3a4375f5948d395e6756e10bca0673d9b6..fc972048e572d42656d4af8b845a88ca9cf4aa04 100644 (file)
@@ -1,6 +1,6 @@
 unifdef-y += const.h
+unifdef-y += debug.h
 unifdef-y += export.h
+unifdef-y += nfsfh.h
 unifdef-y += stats.h
 unifdef-y += syscall.h
-unifdef-y += nfsfh.h
-unifdef-y += debug.h
index 7b5d784cc8587cd80c8bd31125f56a793ebae253..04b355c801d83fa1f537cb6fa596b3649220f071 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef NFSCACHE_H
 #define NFSCACHE_H
 
-#ifdef __KERNEL__
 #include <linux/in.h>
 #include <linux/uio.h>
 
@@ -77,5 +76,4 @@ void  nfsd_reply_cache_shutdown(void);
 int    nfsd_cache_lookup(struct svc_rqst *, int);
 void   nfsd_cache_update(struct svc_rqst *, int, __be32 *);
 
-#endif /* __KERNEL__ */
 #endif /* NFSCACHE_H */
index f4de14d903a6f5091df926680d952e8023348ee0..21ee440dd3e768eb2bbb1e72f3a33d54c31b69da 100644 (file)
@@ -27,7 +27,6 @@
 #define NFSD_VERSION           "0.5"
 #define NFSD_SUPPORTED_MINOR_VERSION   0
 
-#ifdef __KERNEL__
 /*
  * Special flags for nfsd_permission. These must be different from MAY_READ,
  * MAY_WRITE, and MAY_EXEC.
@@ -334,6 +333,4 @@ extern struct timeval       nfssvc_boot;
 
 #endif /* CONFIG_NFSD_V4 */
 
-#endif /* __KERNEL__ */
-
 #endif /* LINUX_NFSD_NFSD_H */