mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
nvd: skip BIO_ORDERED logic when bio fails submission
This ensures the bio flags are not read after biodone(). The ordering will still be enforced, after the bio is submitted successfully. MFC after: 3 days Sponsored by: Intel
This commit is contained in:
parent
8fe5c0d286
commit
26ca317aef
1 changed files with 1 additions and 0 deletions
|
|
@ -215,6 +215,7 @@ nvd_bioq_process(void *arg, int pending)
|
|||
bp->bio_flags |= BIO_ERROR;
|
||||
bp->bio_resid = bp->bio_bcount;
|
||||
biodone(bp);
|
||||
continue;
|
||||
}
|
||||
|
||||
#ifdef BIO_ORDERED
|
||||
|
|
|
|||
Loading…
Reference in a new issue