The test for rootfs (now mountlist) is to avoid panic'ing in sync().
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 15 Jan 1994 02:06:05 +0000 (18:06 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 15 Jan 1994 02:06:05 +0000 (18:06 -0800)
Now that rootfs is not special, it should not be needed anymore.  You
never saw this on HP300s because there, *(foo *)NULL succeeds in the
kernel....; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: sys/sparc/sparc/machdep.c 8.6

usr/src/sys/sparc/sparc/machdep.c

index aa7a936..1051b5b 100644 (file)
@@ -13,7 +13,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)machdep.c   8.5 (Berkeley) %G%
+ *     @(#)machdep.c   8.6 (Berkeley) %G%
  *
  * from: $Header: machdep.c,v 1.44 93/10/31 05:28:36 torek Exp $
  */
  *
  * from: $Header: machdep.c,v 1.44 93/10/31 05:28:36 torek Exp $
  */
@@ -515,8 +515,7 @@ boot(howto)
 
        fb_unblank();
        boothowto = howto;
 
        fb_unblank();
        boothowto = howto;
-       if ((howto & RB_NOSYNC) == 0 &&
-           waittime < 0 && mountlist.tqh_first != NULL) {
+       if ((howto & RB_NOSYNC) == 0 && waittime < 0) {
                register struct buf *bp;
                int iter, nbusy;
 #if 1
                register struct buf *bp;
                int iter, nbusy;
 #if 1