Searched hist:156015 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10-stable/usr.sbin/quot/
H A Dquot.cdiff 156015 Sat Feb 25 21:50:15 MST 2006 dwmalone The quot command expected all inodes contents to be valid, however
on UFS2 inodes are initialised as they are needed, rather than at
newfs time. When quot encountered these inodes it could produce
crazy results.

Now, on UFS2 filesystems, quot's get_inode function will bzero
unallicated inodes before passing them back to a caller. This is
how UFS2 initialises new inodes, so this should work OK.

Also, while I'm here, make quot exit with an error if it finds
inodes of an unknown type. This should help catch future problems
of this type.

Reviewed by: iedowse
MFC after: 1 week

Completed in 119 milliseconds