DragonFly BSD
DragonFly commits List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_exit.c vfs_subr.c vfs_vnops.c src/sys/vfs/specfs spec_vnops.c


From: Hiten Pandya <hmp@xxxxxxxxxxxxx>
Date: Tue, 15 Jun 2004 01:38:44 +0100

I would also like to mention Coolvibe, he originally mentioned this to
me.  Thanks!

	-Hiten
	hmp@xxxxxxxxxxxxx

Matthew Dillon wrote:
dillon 2004/06/14 17:30:55 PDT

DragonFly src repository

Modified files:
sys/kern kern_exit.c vfs_subr.c vfs_vnops.c sys/vfs/specfs spec_vnops.c Log:
Fix a race with the clearing of p->p_session->s_ttyvp. NULL the pointer
out before calling vrele() rather then after.
Fix a bug with v_opencount accounting on revoke(). The underlying device
was being closed properly but v_opencount was being decremented which causes
it to go negative when close() is called on the descriptor later on. To
fix the bug we zero out v_opencount() when the underlying vnode's device
is disassociated and spec_close() now only decrements it when the device is
associated.
Reported-by: GeekGod
Testing-by: GeekGod, Hiten, David Rhodus.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]