mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fix the fix. BIO_ERROR must be set in b_ioflags, not b_flags
This commit is contained in:
parent
d4d3eb2a11
commit
67fa60faa8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86056
@ -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