Subject: kern/1639: please add M_AFS to malloc.h
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 10/17/1995 22:14:02
>Number:         1639
>Category:       kern
>Synopsis:       please add M_AFS to malloc.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 18 07:20:06 1995
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD-current, as of 10/17/1995
>Environment:
	
System: NetBSD pattern 1.0A NetBSD 1.0A (PATTERN) #191: Wed Oct 11 21:53:46 EDT 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386


>Description:
I would like M_AFS for the AFS kernel LKM.
>How-To-Repeat:
#include <sys/malloc.h>
>Fix:
*** /sys/sys/malloc.h	Fri Oct 13 22:56:48 1995
--- sys/malloc.h	Mon Oct  9 22:46:13 1995
***************
*** 118,123 ****
--- 118,124 ----
  #define	M_ADOSFSMNT	66	/* adosfs mount structures */
  #define	M_ADOSFSNODE	67	/* adosfs vnode private part */
  #define	M_ANODE		68	/* adosfs anode structures and tables. */
+ #define	M_AFS		69	/* Andrew File System */
  #define	M_TEMP		84	/* misc temporary data buffers */
  #define	M_LAST		85	/* Must be last type + 1 */
  
***************
*** 191,197 ****
  	"adosfs mount",	/* 66 M_ADOSFSMNT */ \
  	"adosfs node",	/* 67 M_ADOSFSNODE */ \
  	"adosfs anode",	/* 68 M_ANODE */ \
! 	NULL, NULL, NULL, NULL, NULL, \
  	NULL, NULL, NULL, NULL, NULL, \
  	NULL, NULL, NULL, NULL, NULL, \
  	"temp",		/* 84 M_TEMP */ \
--- 192,199 ----
  	"adosfs mount",	/* 66 M_ADOSFSMNT */ \
  	"adosfs node",	/* 67 M_ADOSFSNODE */ \
  	"adosfs anode",	/* 68 M_ANODE */ \
! 	"afs",		/* 69 M_AFS */ \
! 	NULL, NULL, NULL, NULL, \
  	NULL, NULL, NULL, NULL, NULL, \
  	NULL, NULL, NULL, NULL, NULL, \
  	"temp",		/* 84 M_TEMP */ \
>Audit-Trail:
>Unformatted: