Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Remove lying comment on SEGM_PROT seglock.
details: https://anonhg.NetBSD.org/src/rev/d549fab2447e
branches: trunk
changeset: 533975:d549fab2447e
user: perseant <perseant%NetBSD.org@localhost>
date: Thu Jul 11 21:09:00 2002 +0000
description:
Remove lying comment on SEGM_PROT seglock.
diffstat:
sys/ufs/lfs/lfs_subr.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 3b370cf65bdf -r d549fab2447e sys/ufs/lfs/lfs_subr.c
--- a/sys/ufs/lfs/lfs_subr.c Thu Jul 11 20:07:07 2002 +0000
+++ b/sys/ufs/lfs/lfs_subr.c Thu Jul 11 21:09:00 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_subr.c,v 1.27 2002/07/06 01:30:13 perseant Exp $ */
+/* $NetBSD: lfs_subr.c,v 1.28 2002/07/11 21:09:00 perseant Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_subr.c,v 1.27 2002/07/06 01:30:13 perseant Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_subr.c,v 1.28 2002/07/11 21:09:00 perseant Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -132,11 +132,6 @@
{
struct segment *sp;
- /*
- * SEGM_PROT specifies a shared lock, which can be held by multiple
- * processes simultaneously. It is not possible to upgrade from a
- * SEGM_PROT lock to a normal seglock.
- */
if (fs->lfs_seglock) {
if (fs->lfs_lockpid == curproc->p_pid) {
++fs->lfs_seglock;
Home |
Main Index |
Thread Index |
Old Index