patch-2.2.0-pre2 linux/include/linux/nfsd/nfsd.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/kernel.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre1/linux/include/linux/nfsd/nfsd.h linux/include/linux/nfsd/nfsd.h
@@ -26,11 +26,6 @@
  */
 #define NFSD_VERSION		"0.4"
 
-/*
- * Maximum number of nfsd processes
- */
-#define NFSD_MAXSERVS		16
-
 #ifdef __KERNEL__
 /*
  * Special flags for nfsd_permission. These must be different from MAY_READ,
@@ -76,6 +71,7 @@
 /* nfsd/vfs.c */
 int		fh_lock_parent(struct svc_fh *, struct dentry *);
 void		nfsd_racache_init(void);
+void		nfsd_racache_shutdown(void);
 int		nfsd_lookup(struct svc_rqst *, struct svc_fh *,
 				const char *, int, struct svc_fh *);
 int		nfsd_setattr(struct svc_rqst *, struct svc_fh *,
@@ -166,6 +162,11 @@
  * Time of server startup
  */
 extern struct timeval	nfssvc_boot;
+
+/*
+ * The number of nfsd threads.
+ */
+extern int		nfsd_nservers;
 
 #endif /* __KERNEL__ */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov