hal: Branch 'hal-0_5_11-branch'

Joe Marcus Clarke marcus at kemper.freedesktop.org
Tue Mar 18 23:03:13 PDT 2008


 hald/freebsd/hf-scsi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 573a95dbd5d5a78d843e7835e29289ca0e5f56f8
Author: Joe Marcus Clarke <marcus at FreeBSD.org>
Date:   Wed Mar 19 02:03:18 2008 -0400

    make sure the block device is added before probing it
    
    MFH:
    Do not add the block device after probing it as a new volume could be added
    to the GDL before its parent block device.  This can screw up auto-mounting.

diff --git a/hald/freebsd/hf-scsi.c b/hald/freebsd/hf-scsi.c
index 8c865c9..7ab753c 100644
--- a/hald/freebsd/hf-scsi.c
+++ b/hald/freebsd/hf-scsi.c
@@ -409,8 +409,8 @@ hf_scsi_handle_pending_device (struct device_match_result **match,
 		   */
 		  hf_block_device_complete(block_device, block_device, FALSE);
 
-		  hf_storage_device_probe(block_device, FALSE);
 		  hf_device_add(block_device);
+		  hf_storage_device_probe(block_device, FALSE);
 		}
 	    }
 	}


More information about the hal-commit mailing list