biosdisk.c should not set d_opendata.
Same as 330807, d_opendata is owned by open_disk and we should not set it. M stand/i386/libi386/biosdisk.c
This commit is contained in:
parent
4a6d4e7b58
commit
3ee1f2803b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330837
@ -404,7 +404,6 @@ bd_open(struct open_file *f, ...)
|
|||||||
*/
|
*/
|
||||||
disk.dd.d_dev = dev->dd.d_dev;
|
disk.dd.d_dev = dev->dd.d_dev;
|
||||||
disk.dd.d_unit = dev->dd.d_unit;
|
disk.dd.d_unit = dev->dd.d_unit;
|
||||||
disk.dd.d_opendata = NULL;
|
|
||||||
disk.d_slice = -1;
|
disk.d_slice = -1;
|
||||||
disk.d_partition = -1;
|
disk.d_partition = -1;
|
||||||
disk.d_offset = 0;
|
disk.d_offset = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user