Subject: CVS commit: [netbsd-3] src/sys
To: None <source-changes@NetBSD.org>
From: Geert Hendrickx <ghen@netbsd.org>
List: source-changes
Date: 06/28/2007 11:43:13
Module Name:	src
Committed By:	ghen
Date:		Thu Jun 28 11:43:13 UTC 2007

Modified Files:
	src/sys/sys [netbsd-3]: param.h
	src/sys/ufs/ufs [netbsd-3]: quota.h ufs_quota.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1807):
	sys/ufs/ufs/ufs_quota.c: revision 1.46
	sys/ufs/ufs/quota.h: revision 1.24
	sys/sys/param.h: patch
If a quota-enabled file system has 65536 active vnodes for one uid
the reference counter of the corresponding struct dquot will overflow.
Change the type of the reference counter from u_int16_t to u_int32_t and
add an assertion to check for overflow.
Bump kernel version as LKM's depending on UFS internals will have to be
recompiled after this change (discussed and approved on tech-kern).


To generate a diff of this commit:
cvs rdiff -r1.211.2.15 -r1.211.2.16 src/sys/sys/param.h
cvs rdiff -r1.18 -r1.18.10.1 src/sys/ufs/ufs/quota.h
cvs rdiff -r1.33 -r1.33.2.1 src/sys/ufs/ufs/ufs_quota.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.