mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
Fix issue with stale fields from a recycled request pulled off the freelist.
Approved by: grehan (co-mentor)
This commit is contained in:
parent
40eb53f232
commit
4e5f86e009
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261000
@ -497,6 +497,8 @@ ahci_handle_flush(struct ahci_port *p, int slot, uint8_t *cfis)
|
||||
aior->cfis = cfis;
|
||||
aior->slot = slot;
|
||||
aior->len = 0;
|
||||
aior->done = 0;
|
||||
aior->prdtl = 0;
|
||||
breq = &aior->io_req;
|
||||
|
||||
err = blockif_flush(p->bctx, breq);
|
||||
|
Loading…
Reference in New Issue
Block a user