From owner-p4-projects@FreeBSD.ORG Wed May 14 15:15:44 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 02A2937B404; Wed, 14 May 2003 15:15:44 -0700 (PDT) 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 9635037B401 for ; Wed, 14 May 2003 15:15:43 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2952F43FAF for ; Wed, 14 May 2003 15:15:43 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4EMFg0U062657 for ; Wed, 14 May 2003 15:15:42 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4EMFg3e062654 for perforce@freebsd.org; Wed, 14 May 2003 15:15:42 -0700 (PDT) Date: Wed, 14 May 2003 15:15:42 -0700 (PDT) Message-Id: <200305142215.h4EMFg3e062654@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 31201 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 22:15:45 -0000 http://perforce.freebsd.org/chv.cgi?CH=31201 Change 31201 by peter@peter_hammer on 2003/05/14 15:15:03 IFC @31195 Affected files ... .. //depot/projects/hammer/sys/dev/fxp/if_fxpreg.h#8 integrate .. //depot/projects/hammer/sys/pc98/i386/machdep.c#14 integrate .. //depot/projects/hammer/usr.sbin/extattrctl/extattrctl.8#2 integrate .. //depot/projects/hammer/usr.sbin/rpc.lockd/lockd_lock.c#2 integrate Differences ... ==== //depot/projects/hammer/sys/dev/fxp/if_fxpreg.h#8 (text+ko) ==== @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/dev/fxp/if_fxpreg.h,v 1.34 2003/05/12 18:15:33 mux Exp $ + * $FreeBSD: src/sys/dev/fxp/if_fxpreg.h,v 1.35 2003/05/14 20:33:41 mux Exp $ */ #define FXP_VENDORID_INTEL 0x8086 @@ -291,18 +291,18 @@ * fetched along with the TxCB. */ union { - struct fxp_ipcb xx; + struct fxp_ipcb ipcb; struct fxp_tbd tbd[FXP_NTXSEG]; } tx_cb_u; }; #define tbd tx_cb_u.tbd -#define ipcb_schedule_low tx_cb_u.xx.ipcb_schedule_low -#define ipcb_ip_schedule tx_cb_u.xx.ipcb_ip_schedule -#define ipcb_ip_activation_high tx_cb_u.xx.ipcb_ip_activation_high -#define ipcb_vlan_id tx_cb_u.xx.ipcb_vlan_id -#define ipcb_ip_header_offset tx_cb_u.xx.ipcb_ip_header_offset -#define ipcb_tcp_header_offset tx_cb_u.xx.ipcb_tcp_header_offset +#define ipcb_schedule_low tx_cb_u.ipcb.ipcb_schedule_low +#define ipcb_ip_schedule tx_cb_u.ipcb.ipcb_ip_schedule +#define ipcb_ip_activation_high tx_cb_u.ipcb.ipcb_ip_activation_high +#define ipcb_vlan_id tx_cb_u.ipcb.ipcb_vlan_id +#define ipcb_ip_header_offset tx_cb_u.ipcb.ipcb_ip_header_offset +#define ipcb_tcp_header_offset tx_cb_u.ipcb.ipcb_tcp_header_offset /* * IPCB field definitions ==== //depot/projects/hammer/sys/pc98/i386/machdep.c#14 (text+ko) ==== @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $FreeBSD: src/sys/pc98/i386/machdep.c,v 1.317 2003/05/13 20:36:01 jhb Exp $ + * $FreeBSD: src/sys/pc98/i386/machdep.c,v 1.318 2003/05/14 20:21:42 jhb Exp $ */ #include "opt_atalk.h" @@ -567,7 +567,7 @@ p = td->td_proc; PROC_LOCK_ASSERT(p, MA_OWNED); psp = p->p_sigacts; - mtx_assert(&psp->ps_mtx,.MA_OWNED); + mtx_assert(&psp->ps_mtx, MA_OWNED); #ifdef COMPAT_FREEBSD4 if (SIGISMEMBER(psp->ps_freebsd4, sig)) { freebsd4_sendsig(catcher, sig, mask, code); ==== //depot/projects/hammer/usr.sbin/extattrctl/extattrctl.8#2 (text+ko) ==== @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/usr.sbin/extattrctl/extattrctl.8,v 1.22 2002/07/14 14:43:04 charnier Exp $ +.\" $FreeBSD: src/usr.sbin/extattrctl/extattrctl.8,v 1.23 2003/05/14 20:31:06 rwatson Exp $ .\" .\" Developed by the TrustedBSD Project. .\" Support for file system extended attribute. @@ -148,16 +148,16 @@ .Pp Start extended attributes on the root file system. .Pp -.Dl extattrctl initattr 17 /.attribute/md5 +.Dl extattrctl initattr 17 /.attribute/system/md5 .Pp -Create an attribute backing file in /.attribute/md5, and set the maximum +Create an attribute backing file in /.attribute/system/md5, and set the maximum size of each attribute to 17 bytes, with a sparse file used for storing the attributes. .Pp -.Dl extattrctl enable / system md5 /.attribute/md5 +.Dl extattrctl enable / system md5 /.attribute/system/md5 .Pp Enable an attribute named md5 on the root file system, backed from the file -/.attribute/md5. +/.attribute/system/md5. .Pp .Dl extattrctl disable / md5 .Pp ==== //depot/projects/hammer/usr.sbin/rpc.lockd/lockd_lock.c#2 (text+ko) ==== @@ -1,5 +1,5 @@ /* $NetBSD: lockd_lock.c,v 1.5 2000/11/21 03:47:41 enami Exp $ */ -/* $FreeBSD: src/usr.sbin/rpc.lockd/lockd_lock.c,v 1.10 2002/03/22 19:57:09 alfred Exp $ */ +/* $FreeBSD: src/usr.sbin/rpc.lockd/lockd_lock.c,v 1.11 2003/05/14 21:16:33 rwatson Exp $ */ /* * Copyright (c) 2001 Andrew P. Lentvorski, Jr. @@ -1401,12 +1401,17 @@ if (retval == PFL_NFSDENIED || retval == PFL_HWDENIED) { /* Once last chance to check the lock */ if (fl->blocking == 1) { - /* Queue the lock */ - debuglog("BLOCKING LOCK RECEIVED\n"); - retval = (retval == PFL_NFSDENIED ? - PFL_NFSBLOCKED : PFL_HWBLOCKED); - add_blockingfilelock(fl); - dump_filelock(fl); + if (retval == PFL_NFSDENIED) { + /* Queue the lock */ + debuglog("BLOCKING LOCK RECEIVED\n"); + retval = PFL_NFSBLOCKED; + add_blockingfilelock(fl); + dump_filelock(fl); + } else { + /* retval is okay as PFL_HWDENIED */ + debuglog("BLOCKING LOCK DENIED IN HARDWARE\n"); + dump_filelock(fl); + } } else { /* Leave retval alone, it's already correct */ debuglog("Lock denied. Non-blocking failure\n");