summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_disks.c
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2000-09-21 01:37:35 +0000
committeroster <oster@NetBSD.org>2000-09-21 01:37:35 +0000
commit014e17fbdc8697d6cc0d190793b02e92eea2eeb2 (patch)
tree9cf3ed39dea18990daf396cd5b07a27fdd0ce961 /sys/dev/raidframe/rf_disks.c
parentcb4931c8e707f8ac92fe0be8b52d8a4ccaef87d6 (diff)
Correct a few calls to VOP_CLOSE().
Diffstat (limited to 'sys/dev/raidframe/rf_disks.c')
-rw-r--r--sys/dev/raidframe/rf_disks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_disks.c b/sys/dev/raidframe/rf_disks.c
index 4308602f2ff..931c6241ef0 100644
--- a/sys/dev/raidframe/rf_disks.c
+++ b/sys/dev/raidframe/rf_disks.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_disks.c,v 1.32 2000/09/08 01:36:35 oster Exp $ */
+/* $NetBSD: rf_disks.c,v 1.33 2000/09/21 01:37:36 oster Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -569,7 +569,7 @@ rf_AutoConfigureDisks(raidPtr, cfgPtr, auto_config)
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