diff options
author | phk <phk@FreeBSD.org> | 2003-10-21 06:53:10 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-10-21 06:53:10 +0000 |
commit | 01dad440c7ffcc82e6c89ca1546de384a07c24e3 (patch) | |
tree | cd215832cecf805dec9716e4b00d4c9d299481c9 /sys/kern/vfs_bio.c | |
parent | 0cbf0923242389d265c5fd8f6b47c5cac17d70bf (diff) | |
download | FreeBSD-src-01dad440c7ffcc82e6c89ca1546de384a07c24e3.zip FreeBSD-src-01dad440c7ffcc82e6c89ca1546de384a07c24e3.tar.gz |
Remove KASSERTS on B_PHYS for vmapbuf() and vunmapbuf(), B_PHYS is going
away.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 2fcee71..0965f27 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -3693,7 +3693,6 @@ vmapbuf(struct buf *bp) GIANT_REQUIRED; - KASSERT(bp->b_flags & B_PHYS, ("vmapbuf")); if (bp->b_bufsize < 0) return (-1); prot = (bp->b_iocmd == BIO_READ) ? VM_PROT_READ | VM_PROT_WRITE : @@ -3748,8 +3747,6 @@ vunmapbuf(struct buf *bp) GIANT_REQUIRED; - KASSERT(bp->b_flags & B_PHYS, ("vunmapbuf")); - npages = bp->b_npages; pmap_qremove(trunc_page((vm_offset_t)bp->b_data), npages); |