Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/ufs/lfs Pull up revision 1.25 (requested by persean...



details:   https://anonhg.NetBSD.org/src/rev/6ed32e23e3ed
branches:  netbsd-1-6
changeset: 527694:6ed32e23e3ed
user:      tv <tv%NetBSD.org@localhost>
date:      Sun Jun 02 15:31:24 2002 +0000

description:
Pull up revision 1.25 (requested by perseant in ticket #135):
Fix a couple of instances where reassignbuf() was not done at splbio.
Tested on i386.

diffstat:

 sys/ufs/lfs/lfs_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r baace0ad2be2 -r 6ed32e23e3ed sys/ufs/lfs/lfs_subr.c
--- a/sys/ufs/lfs/lfs_subr.c    Sun Jun 02 15:31:17 2002 +0000
+++ b/sys/ufs/lfs/lfs_subr.c    Sun Jun 02 15:31:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_subr.c,v 1.23.2.1 2002/06/02 15:30:32 tv Exp $     */
+/*     $NetBSD: lfs_subr.c,v 1.23.2.2 2002/06/02 15:31:24 tv Exp $     */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_subr.c,v 1.23.2.1 2002/06/02 15:30:32 tv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_subr.c,v 1.23.2.2 2002/06/02 15:31:24 tv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -254,10 +254,10 @@
 #else
                        s = splbio();
                        bremfree(bp);
-                       splx(s);
                        bp->b_flags |= B_DONE|B_INVAL;
                        bp->b_flags &= ~B_DELWRI;
                        reassignbuf(bp,bp->b_vp);
+                       splx(s);
                        brelse(bp);
 #endif
                } else



Home | Main Index | Thread Index | Old Index