Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Correct comment, pipelock() no longer releases the ...
details: https://anonhg.NetBSD.org/src/rev/b7cc2461f626
branches: trunk
changeset: 749729:b7cc2461f626
user: dsl <dsl%NetBSD.org@localhost>
date: Sun Dec 06 20:26:55 2009 +0000
description:
Correct comment, pipelock() no longer releases the mutex.
diffstat:
sys/kern/sys_pipe.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r e79661ba8323 -r b7cc2461f626 sys/kern/sys_pipe.c
--- a/sys/kern/sys_pipe.c Sun Dec 06 20:20:12 2009 +0000
+++ b/sys/kern/sys_pipe.c Sun Dec 06 20:26:55 2009 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index