diff options
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 6fea80b6fbe9..83eca0804e40 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -3074,15 +3074,6 @@ dev_strategy(struct buf *bp) if ((!bp->b_iocmd) || (bp->b_iocmd & (bp->b_iocmd - 1))) panic("b_iocmd botch"); - if (bp->b_flags & B_PHYS) - KASSERT(bp->b_io.bio_offset == bp->b_offset, - ("bio_offset %jd wrong, should be %jd", - (intmax_t)bp->b_io.bio_offset, (intmax_t)bp->b_offset)); - else - KASSERT(bp->b_io.bio_offset == dbtob(bp->b_blkno), - ("bio_offset %jd wrong, should be %jd", - (intmax_t)bp->b_io.bio_offset, - (intmax_t)dbtob(bp->b_blkno))); bp->b_io.bio_done = bufdonebio; bp->b_io.bio_caller2 = bp; (*devsw(bp->b_io.bio_dev)->d_strategy)(&bp->b_io); |