cvs commit: src/sys/kern kern_ktrace.c

John Baldwin jhb at freebsd.org
Tue Jan 24 07:43:01 PST 2006


On Monday 23 January 2006 18:56, Robert Watson wrote:
> On Mon, 23 Jan 2006, John Baldwin wrote:
> > jhb         2006-01-23 21:45:33 UTC
> >
> >  FreeBSD src repository
> >
> >  Modified files:
> >    sys/kern             kern_ktrace.c
> >  Log:
> >  Fix a vnode reference leak in the ktrace code.  We always grab a
> > reference to the vnode at the start of ktr_writerequest() but were
> > missing the corresponding vrele() after we finished the write operation.
> >
> >  Reported by:    jasone
>
> Sorry about that, and thanks for the fix.

No problem.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list