summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-18 11:06:15 +0000
committerphk <phk@FreeBSD.org>2003-10-18 11:06:15 +0000
commit7279dea9d58cab07cda558d87a324cf930c1d69d (patch)
treed972b866c7baf7d8d3327f9499575826d8a172c9 /sys/fs/nwfs
parent011e3f22c7a887a108a8b6642229961d4d763312 (diff)
downloadFreeBSD-src-7279dea9d58cab07cda558d87a324cf930c1d69d.zip
FreeBSD-src-7279dea9d58cab07cda558d87a324cf930c1d69d.tar.gz
Initialize b_offset before calling VOP_STRATEGY/VOP_SPECSTRATEGY.
Remove various comments of KASSERTS and comments about B_PHYS which does not apply anymore.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_vnops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/nwfs/nwfs_vnops.c b/sys/fs/nwfs/nwfs_vnops.c
index ab8a4f2..4215e63 100644
--- a/sys/fs/nwfs/nwfs_vnops.c
+++ b/sys/fs/nwfs/nwfs_vnops.c
@@ -799,7 +799,6 @@ static int nwfs_strategy (ap)
KASSERT(ap->a_vp == ap->a_bp->b_vp, ("%s(%p != %p)",
__func__, ap->a_vp, ap->a_bp->b_vp));
NCPVNDEBUG("\n");
- KASSERT(!(bp->b_flags & B_PHYS), ("nwfs physio"));
if (bp->b_flags & B_ASYNC)
td = (struct thread *)0;
else
OpenPOWER on IntegriCloud