]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
don't initialize the mutex in the temporary struct file, the soo_*
authorAlfred Perlstein <alfred@FreeBSD.org>
Mon, 14 Jan 2002 02:18:59 +0000 (02:18 +0000)
committerAlfred Perlstein <alfred@FreeBSD.org>
Mon, 14 Jan 2002 02:18:59 +0000 (02:18 +0000)
commit3fc6a31403b40b22a19697e407fd372bf69978c9
treeebad090158d040cd6e2f454778299a1f359e0783
parent117f61374cac9ab861ceebb51d0588bfe2a176d2
don't initialize the mutex in the temporary struct file, the soo_*
functions just grab f_data and don't muck with anything else so this
should be ok.

this fixes a panic with invariants where it thinks we've doubly initialized
the filetmp mutex even though all we've done is neglect to bzero it.
sys/fs/fifofs/fifo_vnops.c