diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2003-11-15 09:54:11 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2003-11-15 09:54:11 +0000 |
| commit | 167a9effa5068e54b411ae404543593763a7849e (patch) | |
| tree | 05421bc988f86248571c5482e49eb69af00a813a /sys/vm/vnode_pager.c | |
| parent | 00cbe31bd8e216af9c419ece4435a613f2bb9f5f (diff) | |
Notes
Diffstat (limited to 'sys/vm/vnode_pager.c')
| -rw-r--r-- | sys/vm/vnode_pager.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index e7426229ec25..a5d118e67650 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -478,7 +478,10 @@ vnode_pager_input_smlfs(object, m) /* do the input */ bp->b_iooffset = dbtob(bp->b_blkno); - VOP_SPECSTRATEGY(bp->b_vp, bp); + if (dp->v_type == VCHR) + VOP_SPECSTRATEGY(bp->b_vp, bp); + else + VOP_STRATEGY(bp->b_vp, bp); /* we definitely need to be at splvm here */ |
