diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-04-15 05:54:02 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-04-15 05:54:02 +0000 |
| commit | 8177437d85f8a1edd437dab643b153d62170135f (patch) | |
| tree | 15f6a55095e767e8981f2ba8b7d0bc57532ce223 /sys/miscfs/devfs | |
| parent | 9754f5b65bbabf3bbbd935a82ddd82fc5ffa6aa9 (diff) | |
Notes
Diffstat (limited to 'sys/miscfs/devfs')
| -rw-r--r-- | sys/miscfs/devfs/devfs_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c index 5af57ae87484..3ec62f88b4d6 100644 --- a/sys/miscfs/devfs/devfs_vnops.c +++ b/sys/miscfs/devfs/devfs_vnops.c @@ -1551,7 +1551,7 @@ devfs_inactive(struct vop_inactive_args *ap) * Just call the device strategy routine struct vop_strategy_args { struct vnode *a_vp; - struct buf *a_bp; + struct bio *a_bp; } */ static int @@ -1574,10 +1574,10 @@ devfs_strategy(struct vop_strategy_args *ap) (*bioops.io_start)(bp); switch (vp->v_type) { case VCHR: - (*vp->v_rdev->si_devsw->d_strategy)(bp); + (*vp->v_rdev->si_devsw->d_strategy)(&bp->b_io); break; case VBLK: - (*vp->v_rdev->si_devsw->d_strategy)(bp); + (*vp->v_rdev->si_devsw->d_strategy)(&bp->b_io); break; default: /* XXX set error code? */ |
