Use bufdone(), not biodone().
This commit is contained in:
parent
e4fab58d9e
commit
134a515cd2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user