Fix warnings (mostly harmless, due to struct bio being embedded in buf):
738: warning: passing arg 1 of `biodone' from incompatible pointer type 745: warning: passing arg 1 of `biodone' from incompatible pointer type
This commit is contained in:
parent
42c187b77e
commit
e75a45be56
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78241
@ -735,14 +735,14 @@ hpfs_strategy(ap)
|
||||
printf("hpfs_strategy: hpfs_bpbmap FAILED %d\n", error);
|
||||
bp->b_error = error;
|
||||
bp->b_ioflags |= BIO_ERROR;
|
||||
biodone(bp);
|
||||
biodone(&bp->b_io);
|
||||
return (error);
|
||||
}
|
||||
if ((long)bp->b_blkno == -1)
|
||||
vfs_bio_clrbuf(bp);
|
||||
}
|
||||
if ((long)bp->b_blkno == -1) {
|
||||
biodone(bp);
|
||||
biodone(&bp->b_io);
|
||||
return (0);
|
||||
}
|
||||
bp->b_dev = hp->h_devvp->v_rdev;
|
||||
|
Loading…
Reference in New Issue
Block a user