Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 19:10:37 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Nate Lawson <nate@root.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/fs/devfs devfs_vnops.c src/sys/kern kern_conf.c src/sys/sys conf.h 
Message-ID:  <18954.1124298637@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 17 Aug 2005 10:04:37 PDT." <43036E25.6010508@root.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <43036E25.6010508@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18954.1124298637>