Re: [PATCH] Fixups to ATA ACPI hotplug

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Wednesday, May 21, 2008 - 3:26 pm

On Tue, 20 May 2008 15:58:30 +0200
Holger Macht <hmacht@suse.de> wrote:


Looks odd.   I guess this:

--- a/drivers/ata/libata-acpi.c~ata-acpi-hotplug-handle-bay-devices-in-dock-stations-cleanup
+++ a/drivers/ata/libata-acpi.c
@@ -128,7 +128,7 @@ static void ata_acpi_detach_device(struc
 
 		ata_port_for_each_link(tlink, ap)
 			ata_link_for_each_dev(tdev, tlink)
-			tdev->flags |= ATA_DFLAG_DETACH;
+				tdev->flags |= ATA_DFLAG_DETACH;
 	}
 
 	ata_port_freeze(ap);
_

was intended.


Wow, lots of stuff happening under spinlock here, but it all looks OK to me.


The old code was less odd ;)


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fixups to ATA ACPI hotplug, Matthew Garrett, (Mon May 19, 9:29 am)
Re: [PATCH] Fixups to ATA ACPI hotplug, Holger Macht, (Tue May 20, 12:44 am)
Re: [PATCH] Fixups to ATA ACPI hotplug, Holger Macht, (Tue May 20, 1:49 am)
Re: [PATCH] Fixups to ATA ACPI hotplug, Matthew Garrett, (Tue May 20, 3:20 am)
Re: [PATCH] Fixups to ATA ACPI hotplug, Holger Macht, (Tue May 20, 6:18 am)
Re: [PATCH] Fixups to ATA ACPI hotplug, Matthew Garrett, (Tue May 20, 6:22 am)
Re: [PATCH] Fixups to ATA ACPI hotplug, Holger Macht, (Tue May 20, 6:58 am)
Re: [PATCH] Fixups to ATA ACPI hotplug, Matthew Garrett, (Tue May 20, 7:00 am)
Re: [PATCH] Fixups to ATA ACPI hotplug, Andrew Morton, (Wed May 21, 3:26 pm)