svn commit: r330837 - head/stand/i386/libi386

Toomas Soome tsoome at FreeBSD.org
Tue Mar 13 09:58:30 UTC 2018


Author: tsoome
Date: Tue Mar 13 09:58:29 2018
New Revision: 330837
URL: https://svnweb.freebsd.org/changeset/base/330837

Log:
  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

Modified:
  head/stand/i386/libi386/biosdisk.c

Modified: head/stand/i386/libi386/biosdisk.c
==============================================================================
--- head/stand/i386/libi386/biosdisk.c	Tue Mar 13 09:46:09 2018	(r330836)
+++ head/stand/i386/libi386/biosdisk.c	Tue Mar 13 09:58:29 2018	(r330837)
@@ -404,7 +404,6 @@ bd_open(struct open_file *f, ...)
 	 */
 	disk.dd.d_dev = dev->dd.d_dev;
 	disk.dd.d_unit = dev->dd.d_unit;
-	disk.dd.d_opendata = NULL;
 	disk.d_slice = -1;
 	disk.d_partition = -1;
 	disk.d_offset = 0;


More information about the svn-src-head mailing list