Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/sys



Module Name:    src
Committed By:   ghen
Date:           Thu Jun 28 12:36:02 UTC 2007

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

Log Message:
Pull up following revision(s) (requested by hannken in ticket #747):
        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.244.2.2 -r1.244.2.3 src/sys/sys/param.h
cvs rdiff -r1.22 -r1.22.12.1 src/sys/ufs/ufs/quota.h
cvs rdiff -r1.42 -r1.42.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.




Home | Main Index | Thread Index | Old Index