cvs commit: src/sys/fs/devfs devfs_vnops.c src/sys/kern kern_conf.c src/sys/sys conf.h

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Aug 17 17:10:40 GMT 2005


In message <43036E25.6010508 at root.org>, Nate Lawson writes:

>Is it guaranteed that prep_cdevsw() won't be called twice without a call 
>to fini_cdevsw()?  Otherwise, the shadow cdevsw could leak when its 
>pointer is set to NULL.  I'm not familiar with this code, just asking.

There's a flag that prevents controls the call to prep_

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list