summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-11-10 01:00:52 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-11-10 01:00:52 +0000
commit14b94e5076994cc7bb1d37ee2eb89bc0dfa5fb3d (patch)
tree792ec6e11aafd617d7448009d47bcc8fe21775d8 /sys/dev
parente2a4323c46e85822c934a712e6028a40ee010d78 (diff)
Fix botch accidentally introduced by me in my last commit here.
Report and testing by kurt@, thanks.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/raidframe/rf_openbsdkintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_openbsdkintf.c b/sys/dev/raidframe/rf_openbsdkintf.c
index 97079e13204..228e52fef40 100644
--- a/sys/dev/raidframe/rf_openbsdkintf.c
+++ b/sys/dev/raidframe/rf_openbsdkintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rf_openbsdkintf.c,v 1.28 2005/09/18 14:18:18 pedro Exp $ */
+/* $OpenBSD: rf_openbsdkintf.c,v 1.29 2005/11/10 01:00:51 pedro Exp $ */
/* $NetBSD: rf_netbsdkintf.c,v 1.109 2001/07/27 03:30:07 oster Exp $ */
/*-
@@ -2601,7 +2601,7 @@ rf_close_component(RF_Raid_t *raidPtr, struct vnode *vp, int auto_configured)
if (vp != NULL) {
if (auto_configured == 1) {
/* component was opened by rf_find_raid_components() */
- VOP_CLOSE(vp, FREAD | FWRITE, NOCRED, NULL);
+ VOP_CLOSE(vp, FREAD | FWRITE, NOCRED, p);
vrele(vp);
} else {
/* component was opened by raidlookup() */