cvs commit: src/sys/kern kern_descrip.c

Dag-ErlingSmørgrav des at des.no
Fri Jan 16 14:27:12 PST 2004


"Brian F. Feldman" <green at FreeBSD.org> writes:
> I don't see a reason "newfdp" needs to be locked, since it is not
> referenced by anything yet.  If "fdp" alone is locked, that is
> sufficient to ensure they will both be consistent.

It needs to be locked because it is passed to functions which assert
that it is locked.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-all mailing list