PERFORCE change 102674 for review

John Baldwin jhb at FreeBSD.org
Fri Jul 28 18:42:17 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=102674

Change 102674 by jhb at jhb_mutex on 2006/07/28 18:41:26

	Another instance of SYF_MPSAFE.  This should really be using the
	real functions for this stuff in kern_syscalls.c.

Affected files ...

.. //depot/projects/smpng/sys/nfsserver/nfs_srvsubs.c#31 edit

Differences ...

==== //depot/projects/smpng/sys/nfsserver/nfs_srvsubs.c#31 (text+ko) ====

@@ -554,8 +554,9 @@
 		NFSD_UNLOCK();
 		nfsrv_timer(0);
 
+		/* XXX: Should use SYSCALL_MODULE() */
 		nfs_prev_nfssvc_sy_narg = sysent[SYS_nfssvc].sy_narg;
-		sysent[SYS_nfssvc].sy_narg = 2 | SYF_MPSAFE;
+		sysent[SYS_nfssvc].sy_narg = 2;
 		nfs_prev_nfssvc_sy_call = sysent[SYS_nfssvc].sy_call;
 		sysent[SYS_nfssvc].sy_call = (sy_call_t *)nfssvc;
 		break;


More information about the p4-projects mailing list