Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/dev/raidframe Apply patch (requested by oster):



details:   https://anonhg.NetBSD.org/src/rev/9111bd910176
branches:  netbsd-1-4
changeset: 470440:9111bd910176
user:      he <he%NetBSD.org@localhost>
date:      Tue Feb 29 23:31:50 2000 +0000

description:
Apply patch (requested by oster):
  Protect rf_RewriteParity() with splbio().

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 105d7781e2c7 -r 9111bd910176 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Mon Feb 28 20:07:23 2000 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Tue Feb 29 23:31:50 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.16.2.8 1999/12/20 13:38:41 he Exp $       */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.16.2.9 2000/02/29 23:31:50 he Exp $       */
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -988,7 +988,9 @@
 
                /* borrow the thread of the requesting process */
                raidPtrs[unit]->proc = p;       /* Blah... :-p GO */
+               s = splbio();
                retcode = rf_RewriteParity(raidPtrs[unit]);
+               splx(s);
                /* return I/O Error if the parity rewrite fails */
 
                if (retcode) {



Home | Main Index | Thread Index | Old Index