Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/union fix union node lock to sleep on something i...
details: https://anonhg.NetBSD.org/src/rev/2f951ea08c75
branches: trunk
changeset: 467394:2f951ea08c75
user: sommerfe <sommerfe%NetBSD.org@localhost>
date: Wed Mar 24 05:53:59 1999 +0000
description:
fix union node lock to sleep on something it'll be woken on..
diffstat:
sys/miscfs/union/union_subr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a0fae0ac4a21 -r 2f951ea08c75 sys/miscfs/union/union_subr.c
--- a/sys/miscfs/union/union_subr.c Wed Mar 24 05:50:49 1999 +0000
+++ b/sys/miscfs/union/union_subr.c Wed Mar 24 05:53:59 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: union_subr.c,v 1.29 1999/03/24 05:51:27 mrg Exp $ */
+/* $NetBSD: union_subr.c,v 1.30 1999/03/24 05:53:59 sommerfe Exp $ */
/*
* Copyright (c) 1994 Jan-Simon Pendry
@@ -399,7 +399,7 @@
if (un->un_flags & UN_LOCKED) {
vrele(UNIONTOV(un));
un->un_flags |= UN_WANTED;
- sleep((caddr_t)un, PINOD);
+ sleep((caddr_t)&un->un_flags, PINOD);
goto loop;
}
un->un_flags |= UN_LOCKED;
Home |
Main Index |
Thread Index |
Old Index