patch-2.1.82 linux/fs/nfsd/nfssvc.c

Next file: linux/fs/nfsd/vfs.c
Previous file: linux/fs/nfsd/nfsproc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.81/linux/fs/nfsd/nfssvc.c linux/fs/nfsd/nfssvc.c
@@ -97,8 +97,8 @@
 
 	oldumask = current->fs->umask;		/* Set umask to 0.  */
 	current->fs->umask = 0;
-	nfssvc_boot = xtime;			/* record boot time */
-	nfsd_active++;
+	if (!nfsd_active++)
+		nfssvc_boot = xtime;		/* record boot time */
 	lockd_up();				/* start lockd */
 
 	/*

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