From: Rafael J. Wysocki Date: Tue, 14 Jan 2014 19:03:14 +0000 (-0700) Subject: PCI: hotplug: Use global PCI rescan-remove locking X-Git-Tag: v3.14-rc1~132^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4ec84c7db0e4b01ed40cc2388f16ae5c6513cc0;p=pandora-kernel.git PCI: hotplug: Use global PCI rescan-remove locking Multiple race conditions are possible between PCI hotplug and the generic PCI bus rescan and device removal that can be triggered via sysfs. To avoid those race conditions make PCI hotplug use global PCI rescan-remove locking. Signed-off-by: Rafael J. Wysocki Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed