Date: Mon, 26 Sep 2005 11:45:50 +0300 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: Sebastien <sebastien.bourdeauducq@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Filesystem access from a KLD causes "vrele: negative ref cnt" panic Message-ID: <20050926084550.GA444@pm514-9.comsys.ntu-kpi.kiev.ua> In-Reply-To: <200509241706.47995.sebastien.bourdeauducq@gmail.com> References: <200509201949.53951.sebastien.bourdeauducq@gmail.com> <20050921080533.GA255@pm514-9.comsys.ntu-kpi.kiev.ua> <200509241706.47995.sebastien.bourdeauducq@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 24, 2005 at 05:06:47PM +0200, Sebastien wrote: > > > Should not rootvnode get reference, when fd_rdir or fd_cdir > > begins to point to it? Try to VREF() it. > > No change. > It is hard to say something not seeing and understanding the complete source code. 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050926084550.GA444>