Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Add a missing RF_LOCK_MUTEX().
details: https://anonhg.NetBSD.org/src/rev/aa049aaa2562
branches: trunk
changeset: 537821:aa049aaa2562
user: oster <oster%NetBSD.org@localhost>
date: Sun Oct 06 05:32:59 2002 +0000
description:
Add a missing RF_LOCK_MUTEX().
diffstat:
sys/dev/raidframe/rf_reconstruct.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 71049cea0321 -r aa049aaa2562 sys/dev/raidframe/rf_reconstruct.c
--- a/sys/dev/raidframe/rf_reconstruct.c Sun Oct 06 05:23:55 2002 +0000
+++ b/sys/dev/raidframe/rf_reconstruct.c Sun Oct 06 05:32:59 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_reconstruct.c,v 1.46 2002/10/06 05:23:55 oster Exp $ */
+/* $NetBSD: rf_reconstruct.c,v 1.47 2002/10/06 05:32:59 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.46 2002/10/06 05:23:55 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.47 2002/10/06 05:32:59 oster Exp $");
#include <sys/time.h>
#include <sys/buf.h>
@@ -433,6 +433,7 @@
return (EINVAL);
}
if (raidPtr->Disks[row][col].status == rf_ds_spared) {
+ RF_UNLOCK_MUTEX(raidPtr->mutex);
return (EINVAL);
}
Home |
Main Index |
Thread Index |
Old Index