Zhao, Yu c8761fe80e PCI: fix hotplug get_##name return value problem
Currently, get_##name in pci_hotplug_core.c will return 0 if module
unload wins the race between unload & reading the hotplug file.  Fix
that case to return -ENODEV like it should.

Reviewed-by: Alex Chiang <achiang@hp.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-10-20 10:54:25 -07:00
..
2005-10-18 08:26:15 -07:00
2008-10-20 10:53:51 -07:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2008-07-18 22:50:34 +02:00
2006-12-01 14:36:56 -08:00
2008-10-20 10:53:51 -07:00
2008-10-20 10:53:40 -07:00
2008-09-26 18:59:05 -06:00
2008-06-25 16:05:13 -07:00