Source-Changes archive

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

CVS commit: [netbsd-2] src/sys/ufs/ufs



Module Name:    src
Committed By:   bouyer
Date:           Sat Aug 11 15:09:50 UTC 2007

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

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
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ß.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.17.4.1 src/sys/ufs/ufs/quota.h
cvs rdiff -r1.30 -r1.30.4.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