Fix the fix. BIO_ERROR must be set in b_ioflags, not b_flags

This commit is contained in:
Matthew Dillon 2001-11-04 23:52:49 +00:00
parent d4d3eb2a11
commit 67fa60faa8
2 changed files with 2 additions and 2 deletions

View File

@ -436,7 +436,7 @@ cd9660_blkatoff(vp, offset, res, bpp)
&bp->b_blkno, NULL, NULL);
if (error) {
bp->b_error = error;
bp->b_flags |= BIO_ERROR;
bp->b_ioflags |= BIO_ERROR;
brelse(bp);
*bpp = NULL;
return (error);

View File

@ -436,7 +436,7 @@ cd9660_blkatoff(vp, offset, res, bpp)
&bp->b_blkno, NULL, NULL);
if (error) {
bp->b_error = error;
bp->b_flags |= BIO_ERROR;
bp->b_ioflags |= BIO_ERROR;
brelse(bp);
*bpp = NULL;
return (error);