We can get past here on a normal vnode as well, so use VOP_STRATEGY if so.

This commit is contained in:
phk 2003-01-13 21:32:16 +00:00
parent be5b23582d
commit 24866be33c

View File

@ -823,7 +823,10 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage)
cnt.v_vnodepgsin += count;
/* do the input */
VOP_SPECSTRATEGY(bp->b_vp, bp);
if (dp->v_type == VCHR)
VOP_SPECSTRATEGY(bp->b_vp, bp);
else
VOP_STRATEGY(bp->b_vp, bp);
s = splvm();
/* we definitely need to be at splvm here */