mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Remove the last call in the system to VOP_SPECSTRATEGY(): We can no
longer come through the VNODE layer to the disks since all the filesystems now go via geom_vfs to GEOM.
This commit is contained in:
parent
5cdfa40c6b
commit
0cbda9dfd5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137042
@ -3808,15 +3808,10 @@ bufstrategy(struct bufobj *bo, struct buf *bp)
|
||||
struct vnode *vp;
|
||||
|
||||
vp = bp->b_vp;
|
||||
#if 0
|
||||
KASSERT(vp == bo->bo_vnode, ("Inconsistent vnode bufstrategy"));
|
||||
KASSERT(vp == bo->bo_private, ("Inconsistent vnode bufstrategy"));
|
||||
KASSERT(vp->v_type != VCHR && vp->v_type != VBLK,
|
||||
("Wrong vnode in bufstrategy(bp=%p, vp=%p)", bp, vp));
|
||||
#endif
|
||||
if (vp->v_type == VCHR)
|
||||
i = VOP_SPECSTRATEGY(vp, bp);
|
||||
else
|
||||
i = VOP_STRATEGY(vp, bp);
|
||||
i = VOP_STRATEGY(vp, bp);
|
||||
KASSERT(i == 0, ("VOP_STRATEGY failed bp=%p vp=%p", bp, bp->b_vp));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user