Correct comment, pipelock() no longer releases the mutex.

This commit is contained in:
dsl 2009-12-06 20:26:55 +00:00
parent 110a4ba3b4
commit 43bac9730d
1 changed files with 2 additions and 3 deletions

View File

@ -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 @@ pipe_create(struct pipe **pipep, pool_cache_t cache, kmutex_t *mutex)
/*
* 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)