Module Name: src Committed By: dsl Date: Sun Dec 6 20:26:55 UTC 2009
Modified Files: src/sys/kern: sys_pipe.c Log Message: Correct comment, pipelock() no longer releases the mutex. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 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.
Modified files: Index: src/sys/kern/sys_pipe.c diff -u src/sys/kern/sys_pipe.c:1.119 src/sys/kern/sys_pipe.c:1.120 --- src/sys/kern/sys_pipe.c:1.119 Mon Aug 31 20:48:14 2009 +++ src/sys/kern/sys_pipe.c Sun Dec 6 20:26:55 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: sys_pipe.c,v 1.119 2009/08/31 20:48:14 rmind Exp $ */ +/* $NetBSD: sys_pipe.c,v 1.120 2009/12/06 20:26:55 dsl Exp $ */ /*- * Copyright (c) 2003, 2007, 2008, 2009 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.119 2009/08/31 20:48:14 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.120 2009/12/06 20:26:55 dsl Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -363,7 +363,6 @@ /* * Lock a pipe for I/O, blocking other access * Called with pipe spin lock held. - * Return with pipe spin lock released on success. */ static int pipelock(struct pipe *pipe, int catch)