[ofw] [PATCH] ibbus symbolic link deletion

Smith, Stan stan.smith at intel.com
Fri Apr 4 10:06:47 PDT 2008


WIX installer testing shows no problems.
Please commit if you have not already do so.
 
thanks,
 
stan.

________________________________

From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Slava Strebkov
Sent: Monday, March 31, 2008 11:06 PM
To: ofw at lists.openfabrics.org
Subject: [ofw] [PATCH] ibbus symbolic link deletion



 

Hi,

The patch deletes ibbus symbolic link on driver unloads.

 

Index: core/bus/kernel/bus_driver.c

===================================================================

--- core/bus/kernel/bus_driver.c  (revision 1026)

+++ core/bus/kernel/bus_driver.c           (working copy)

@@ -455,10 +455,12 @@

 bus_drv_unload(

            IN                                             DRIVER_OBJECT
*p_driver_obj )

 {

-           BUS_ENTER( BUS_DBG_DRV );

-

+          UNICODE_STRING        dos_name;

            UNUSED_PARAM( p_driver_obj );

 

+          BUS_ENTER( BUS_DBG_DRV );

+          RtlInitUnicodeString( &dos_name,
L"\\DosDevices\\Global\\ibal" );

+          IoDeleteSymbolicLink( &dos_name );

            CL_DEINIT;

 

 #if defined(EVENT_TRACING)

 

 

 

 

Slava 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080404/f93a6e9d/attachment.html>


More information about the ofw mailing list