From owner-p4-projects@FreeBSD.ORG Fri Jul 28 18:42:16 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C42D516A4E0; Fri, 28 Jul 2006 18:42:16 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 886CB16A4DD for ; Fri, 28 Jul 2006 18:42:16 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5578843D45 for ; Fri, 28 Jul 2006 18:42:16 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6SIgGKO073609 for ; Fri, 28 Jul 2006 18:42:16 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6SIgFJY073606 for perforce@freebsd.org; Fri, 28 Jul 2006 18:42:15 GMT (envelope-from jhb@freebsd.org) Date: Fri, 28 Jul 2006 18:42:15 GMT Message-Id: <200607281842.k6SIgFJY073606@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 102674 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 18:42:17 -0000 http://perforce.freebsd.org/chv.cgi?CH=102674 Change 102674 by jhb@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;