patch-2.3.27 linux/fs/nfsd/nfsctl.c

Next file: linux/fs/nfsd/stats.c
Previous file: linux/fs/ncpfs/mmap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/fs/nfsd/nfsctl.c linux/fs/nfsd/nfsctl.c
@@ -257,21 +257,6 @@
 extern int (*do_nfsservctl)(int, void *, void *);
 
 /*
- * This is called as the fill_inode function when an inode
- * is going into (fill = 1) or out of service (fill = 0).
- *
- * We use it here to make sure the module can't be unloaded
- * while a /proc inode is in use.
- */
-void nfsd_modcount(struct inode *inode, int fill)
-{
-	if (fill)
-		MOD_INC_USE_COUNT;
-	else
-		MOD_DEC_USE_COUNT;
-}
-
-/*
  * Initialize the module
  */
 int

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)