Modify VDESC_NOMAP_VPP and VDESC_VPP_WILLRELE so that they don't

overlap with VDESC_VP0_WILLUNLOCK and VDESC_VP1_WILLUNLOCK. This bug
was inherited from an old 4.4BSD import in 1994.
This commit is contained in:
wrstuden 1999-08-18 01:34:27 +00:00
parent 57882d3779
commit b0e95cadb7
3 changed files with 19 additions and 19 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: osrelease.sh,v 1.25 1999/08/05 18:10:20 thorpej Exp $
# $NetBSD: osrelease.sh,v 1.26 1999/08/18 01:34:27 wrstuden Exp $
#
# Copyright (c) 1997 The NetBSD Foundation, Inc.
# All rights reserved.
@ -38,7 +38,7 @@
#
# Release number to use
release=1.4J
release=1.4K
case $1 in

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.70 1999/08/05 18:10:20 thorpej Exp $ */
/* $NetBSD: param.h,v 1.71 1999/08/18 01:34:27 wrstuden Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@ -65,7 +65,7 @@
*
*/
#define __NetBSD_Version__ 104100000 /* NetBSD 1.4J */
#define __NetBSD_Version__ 104110000 /* NetBSD 1.4K */
/*
* Historical NetBSD #define

View File

@ -1,4 +1,4 @@
/* $NetBSD: vnode.h,v 1.63 1999/08/03 20:19:21 wrstuden Exp $ */
/* $NetBSD: vnode.h,v 1.64 1999/08/18 01:34:28 wrstuden Exp $ */
/*
* Copyright (c) 1989, 1993
@ -320,20 +320,20 @@ extern struct vattr va_null; /* predefined null vattr structure */
*/
#define VDESC_MAX_VPS 8
/* Low order 16 flag bits are reserved for willrele flags for vp arguments. */
#define VDESC_VP0_WILLRELE 0x0001
#define VDESC_VP1_WILLRELE 0x0002
#define VDESC_VP2_WILLRELE 0x0004
#define VDESC_VP3_WILLRELE 0x0008
#define VDESC_VP0_WILLUNLOCK 0x0100
#define VDESC_VP1_WILLUNLOCK 0x0200
#define VDESC_VP2_WILLUNLOCK 0x0400
#define VDESC_VP3_WILLUNLOCK 0x0800
#define VDESC_VP0_WILLPUT 0x0101
#define VDESC_VP1_WILLPUT 0x0202
#define VDESC_VP2_WILLPUT 0x0404
#define VDESC_VP3_WILLPUT 0x0808
#define VDESC_NOMAP_VPP 0x0100
#define VDESC_VPP_WILLRELE 0x0200
#define VDESC_VP0_WILLRELE 0x00000001
#define VDESC_VP1_WILLRELE 0x00000002
#define VDESC_VP2_WILLRELE 0x00000004
#define VDESC_VP3_WILLRELE 0x00000008
#define VDESC_VP0_WILLUNLOCK 0x00000100
#define VDESC_VP1_WILLUNLOCK 0x00000200
#define VDESC_VP2_WILLUNLOCK 0x00000400
#define VDESC_VP3_WILLUNLOCK 0x00000800
#define VDESC_VP0_WILLPUT 0x00000101
#define VDESC_VP1_WILLPUT 0x00000202
#define VDESC_VP2_WILLPUT 0x00000404
#define VDESC_VP3_WILLPUT 0x00000808
#define VDESC_NOMAP_VPP 0x00010000
#define VDESC_VPP_WILLRELE 0x00020000
/*
* VDESC_NO_OFFSET is used to identify the end of the offset list