Date: Fri, 30 Sep 2005 18:48:19 +0200 From: Sebastien <sebastien.bourdeauducq@gmail.com> To: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> Cc: freebsd-hackers@freebsd.org Subject: Re: Filesystem access from a KLD causes "vrele: negative ref cnt" panic Message-ID: <200509301848.20284.sebastien.bourdeauducq@gmail.com> In-Reply-To: <20050926084550.GA444@pm514-9.comsys.ntu-kpi.kiev.ua> References: <200509201949.53951.sebastien.bourdeauducq@gmail.com> <200509241706.47995.sebastien.bourdeauducq@gmail.com> <20050926084550.GA444@pm514-9.comsys.ntu-kpi.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509301848.20284.sebastien.bourdeauducq>