mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 10:44:53 +00:00
Add a missing bufq_init call. The original code never initialized it's
buffer queue so I missed this when I changed buf_queue_head. This probably fixes Soren's problem too, but he never mentioned which CD driver he was using. 8-) Submitted by: dave adkins <adkin003@tc.umn.edu>
This commit is contained in:
parent
c1f011d2f1
commit
ee573943a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29727
|
@ -286,6 +286,7 @@ wcdattach (struct atapi *ata, int unit, struct atapi_params *ap, int debug)
|
|||
}
|
||||
wcdtab[wcdnlun] = t;
|
||||
bzero (t, sizeof (struct wcd));
|
||||
bufq_init(&t->buf_queue);
|
||||
t->ata = ata;
|
||||
t->unit = unit;
|
||||
lun = t->lun = wcdnlun++;
|
||||
|
|
Loading…
Reference in a new issue