freebsd-dev/sys/miscfs
Sean Eric Fagan 7486d3658f Code to prevent a panic caused by procfs_exit(). Note that i don't know
what is teh root cause -- but, sometimes, a procfs vnode in pfshead is
apparantly corrupt (or a UFS vnode instead).  Without this patch, I can
get it to panic by doing (in csh)

	while (1)
		ps auxwww
	end

and it will panic when the PID's wrap.  With it, it does not panic.
Yes -- I know that this is NOT the right way to fix it.  But I haven't
been able to get it to panic yet (which confuses me).  I am going to
be looking into the vgone() code now, as that may be a part of it.
1997-12-09 05:03:41 +00:00
..
deadfs Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
devfs Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
fdesc Removed unused #includes. The need for most of them went away with 1997-10-27 13:33:47 +00:00
fifofs Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
kernfs Removed unused #includes. The need for most of them went away with 1997-10-27 13:33:47 +00:00
nullfs Fix the file leak bug. The lower layer wasn't informed the vnode was inactive 1997-10-21 21:01:34 +00:00
portal Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
procfs Code to prevent a panic caused by procfs_exit(). Note that i don't know 1997-12-09 05:03:41 +00:00
specfs Removed unused #includes. The need for most of them went away with 1997-10-27 13:33:47 +00:00
umapfs Fix the same leak as in nullfs. Now the lowervp is properly marked inactive. 1997-10-21 21:08:17 +00:00
union Staticize. 1997-11-18 15:07:35 +00:00