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
..
2008-06-10 14:37:03 -07:00
2008-06-10 14:37:03 -07:00
2008-06-10 14:37:03 -07:00
2005-04-16 15:20:36 -07:00
2008-06-10 14:37:03 -07:00
2005-04-16 15:20:36 -07:00
2008-02-01 15:04:20 -08:00
2008-06-10 14:37:03 -07:00
2005-04-16 15:20:36 -07:00