Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/raidframe Pullup 1.33 [oster]:
details: https://anonhg.NetBSD.org/src/rev/e1d116424b12
branches: netbsd-1-5
changeset: 489815:e1d116424b12
user: tv <tv%NetBSD.org@localhost>
date: Tue Oct 17 20:11:33 2000 +0000
description:
Pullup 1.33 [oster]:
Correct a few calls to VOP_CLOSE().
diffstat:
sys/dev/raidframe/rf_disks.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r edb635b59caf -r e1d116424b12 sys/dev/raidframe/rf_disks.c
--- a/sys/dev/raidframe/rf_disks.c Tue Oct 17 20:09:40 2000 +0000
+++ b/sys/dev/raidframe/rf_disks.c Tue Oct 17 20:11:33 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_disks.c,v 1.31.2.1 2000/09/08 13:42:50 oster Exp $ */
+/* $NetBSD: rf_disks.c,v 1.31.2.2 2000/10/17 20:11:33 tv Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -569,7 +569,7 @@
while(ac!=NULL) {
if (ac->flag == 0) {
vn_lock(ac->vp, LK_EXCLUSIVE | LK_RETRY);
- VOP_CLOSE(ac->vp, FREAD, NOCRED, 0);
+ VOP_CLOSE(ac->vp, FREAD | FWRITE, NOCRED, 0);
vput(ac->vp);
ac->vp = NULL;
#if DEBUG
Home |
Main Index |
Thread Index |
Old Index