Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/03/2004 22:00:34
Module Name: src
Committed By: dsl
Date: Wed Mar 3 22:00:34 UTC 2004
Modified Files:
src/sys/kern: sys_pipe.c
Log Message:
No need to initialise [rw]pipe twice.
Initialise locks before trying to allocate pipe buffer, when allocate
fails we'll not explode trying to acquire the locks when tidying up.
To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 src/sys/kern/sys_pipe.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.