Fix the fix. BIO_ERROR must be set in b_ioflags, not b_flags
This commit is contained in:
parent
d4d3eb2a11
commit
67fa60faa8
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user