Subject: CVS commit: src/sys/miscfs/fifofs
To: None <>
From: Martin Husemann <>
List: source-changes
Date: 03/17/2003 02:06:24
Module Name:	src
Committed By:	martin
Date:		Mon Mar 17 00:06:24 UTC 2003

Modified Files:
	src/sys/miscfs/fifofs: fifo_vnops.c

Log Message:
Fix a race condition where a writer could already have closed the fifo
before the reader woke up - this made the reader loop again, waiting
for another writer, even though there was input available.

Thanks to Jaromir for spotting the real cause and sugesting a solution.

This should fix PR port-sparc64/20283.

To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 src/sys/miscfs/fifofs/fifo_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.