Use bufdone(), not biodone().

This commit is contained in:
phk 2004-08-08 13:20:43 +00:00
parent e4fab58d9e
commit 134a515cd2

View File

@ -663,14 +663,14 @@ hpfs_strategy(ap)
printf("hpfs_strategy: hpfs_bpbmap FAILED %d\n", error);
bp->b_error = error;
bp->b_ioflags |= BIO_ERROR;
biodone(&bp->b_io);
bufdone(bp);
return (error);
}
if ((long)bp->b_blkno == -1)
vfs_bio_clrbuf(bp);
}
if ((long)bp->b_blkno == -1) {
biodone(&bp->b_io);
bufdone(bp);
return (0);
}
bp->b_dev = hp->h_devvp->v_rdev;