Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-2] src/sys/sys
Module Name: src
Committed By: bouyer
Date: Sun Aug 12 17:13:59 UTC 2007
Modified Files:
src/sys/sys [netbsd-2]: param.h
Log Message:
Pull up following revision(s) (requested by hannken in ticket #11334):
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.
Observed and tested by Edgar Fuß.
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.188.2.9.2.12 -r1.188.2.9.2.13 src/sys/sys/param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index