diff options
Diffstat (limited to 'sys/dev/raidframe/rf_disks.c')
-rw-r--r-- | sys/dev/raidframe/rf_disks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_disks.c b/sys/dev/raidframe/rf_disks.c index fefce52be6b..56e7dc1d32c 100644 --- a/sys/dev/raidframe/rf_disks.c +++ b/sys/dev/raidframe/rf_disks.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_disks.c,v 1.14 2010/05/23 13:49:35 naddy Exp $ */ +/* $OpenBSD: rf_disks.c,v 1.15 2010/09/23 18:49:39 oga Exp $ */ /* $NetBSD: rf_disks.c,v 1.31 2000/06/02 01:17:14 oster Exp $ */ /* @@ -598,7 +598,7 @@ rf_AutoConfigureDisks(RF_Raid_t *raidPtr, RF_Config_t *cfgPtr, ac = auto_config; while(ac != NULL) { if (ac->flag == 0) { - VOP_CLOSE(ac->vp, FREAD, NOCRED, 0); + VOP_CLOSE(ac->vp, FREAD, NOCRED, curproc); vput(ac->vp); ac->vp = NULL; #if DEBUG |