Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2018 09:58:29 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330837 - head/stand/i386/libi386
Message-ID:  <201803130958.w2D9wTor009065@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803130958.w2D9wTor009065>