Source-Changes-HG archive

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

[src/chs-ubc2]: src/sys/kern Remove the VREG panic from getblk() so that file...



details:   https://anonhg.NetBSD.org/src/rev/8b5d08a72970
branches:  chs-ubc2
changeset: 471352:8b5d08a72970
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jul 02 18:31:28 1999 +0000

description:
Remove the VREG panic from getblk() so that file systems which have not
yet been converted to use UBC continue to work with the old buffer cache.

diffstat:

 sys/kern/vfs_bio.c |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (22 lines):

diff -r 2d8f46ba7cce -r 8b5d08a72970 sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c        Fri Jul 02 00:30:19 1999 +0000
+++ b/sys/kern/vfs_bio.c        Fri Jul 02 18:31:28 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_bio.c,v 1.58.6.1 1999/06/07 04:25:30 chs Exp $     */
+/*     $NetBSD: vfs_bio.c,v 1.58.6.2 1999/07/02 18:31:28 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1994 Christopher G. Demetriou
@@ -555,12 +555,6 @@
        struct buf *bp;
        int s, err;
 
-#ifdef DIAGNOSTIC
-       if (vp->v_type == VREG && blkno >= 0) {
-               panic("getblk of VREG vp %p blkno 0x%x", vp, blkno);
-       }
-#endif
-
        /*
         * XXX
         * The following is an inlined version of 'incore()', but with



Home | Main Index | Thread Index | Old Index