mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 12:33:07 -04:00
geom(9): unset the BIO_ERROR_COMPAT flag correctly
Fixes: 112c453ba9
Approved by: re (cperciva)
This commit is contained in:
parent
3ab741a76a
commit
725f4b108d
1 changed files with 2 additions and 2 deletions
|
|
@ -4479,7 +4479,7 @@ biodone(struct bio *bp)
|
|||
bp->bio_error = bp->bio_error_compat;
|
||||
bp->bio_flags |= BIO_ERROR;
|
||||
bp->bio_error_compat = 0;
|
||||
bp->bio_flags &= BIO_ERROR_COMPAT;
|
||||
bp->bio_flags &= ~BIO_ERROR_COMPAT;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -4524,7 +4524,7 @@ biodone(struct bio *bp)
|
|||
}
|
||||
done(bp);
|
||||
bp->bio_error_compat = 0;
|
||||
bp->bio_flags &= BIO_ERROR_COMPAT;
|
||||
bp->bio_flags &= ~BIO_ERROR_COMPAT;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue