Filesystem access from a KLD causes "vrele: negative ref cnt"
panic
Sebastien
sebastien.bourdeauducq at gmail.com
Fri Sep 30 09:46:34 PDT 2005
> It is hard to say something not seeing and understanding the
> complete source code.
Well, it's a very simple module :
http://lekernel.lya-fr.com/firmwareagent_en.html
> But since fdinit() which is called from
> fork1() and fdfree() which is called from exit1() get and release
> reference on vnodes fd_cdir and fd_rdir point to, you need to
> follow this semantics.
Ok, so it should be VREF'd twice - it works now :)
Thanks,
Sebastien
More information about the freebsd-hackers
mailing list