Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/adosfs Pull up revision 1.38 (requested by wrstuden):



details:   https://anonhg.NetBSD.org/src/rev/e8c383cd782a
branches:  netbsd-1-4
changeset: 469603:e8c383cd782a
user:      he <he%NetBSD.org@localhost>
date:      Tue Oct 19 16:23:34 1999 +0000

description:
Pull up revision 1.38 (requested by wrstuden):
  A few fixes to the previous pullup, related to spec_close().

diffstat:

 sys/adosfs/advfsops.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7735facce980 -r e8c383cd782a sys/adosfs/advfsops.c
--- a/sys/adosfs/advfsops.c     Mon Oct 18 05:45:37 1999 +0000
+++ b/sys/adosfs/advfsops.c     Tue Oct 19 16:23:34 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: advfsops.c,v 1.35.2.2 1999/10/18 05:04:41 cgd Exp $    */
+/*     $NetBSD: advfsops.c,v 1.35.2.3 1999/10/19 16:23:34 he Exp $     */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -265,7 +265,9 @@
        return(0);
 
 fail:
+       vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY);
        (void) VOP_CLOSE(devvp, FREAD, NOCRED, p);
+       VOP_UNLOCK(devvp, 0);
        if (amp && amp->bitmap)
                free(amp->bitmap, M_ADOSFSBITMAP);
        if (amp)



Home | Main Index | Thread Index | Old Index