diff --git a/sys/contrib/softupdates/ffs_softdep.c b/sys/contrib/softupdates/ffs_softdep.c index c4cd06d8e1f..b0e7d04a6a0 100644 --- a/sys/contrib/softupdates/ffs_softdep.c +++ b/sys/contrib/softupdates/ffs_softdep.c @@ -4566,8 +4566,6 @@ getdirtybuf(bpp, waitfor) FREE_LOCK_INTERLOCKED(&lk); tsleep(&bp->b_xflags, PRIBIO, "getbuf", 0); ACQUIRE_LOCK_INTERLOCKED(&lk); - if (bp->b_xflags & BX_BKGRDINPROG) - panic("getdirtybuf: still writing"); continue; } if (waitfor != MNT_WAIT) diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index c4cd06d8e1f..b0e7d04a6a0 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -4566,8 +4566,6 @@ getdirtybuf(bpp, waitfor) FREE_LOCK_INTERLOCKED(&lk); tsleep(&bp->b_xflags, PRIBIO, "getbuf", 0); ACQUIRE_LOCK_INTERLOCKED(&lk); - if (bp->b_xflags & BX_BKGRDINPROG) - panic("getdirtybuf: still writing"); continue; } if (waitfor != MNT_WAIT)