[PATCH 2.6.21.stable] PCI: Fix fakephp deadlock

2008-02-04 Thread Ian Abbott
From: Ian Abbott <[EMAIL PROTECTED]> Stable request for 2.6.21. This patch works around a problem in the fakephp driver when a process writing "0" to a "power" sysfs file to fake removal of a PCI device ends up deadlocking itself in the sysfs code. This patch is *not* functionally identical to

[PATCH 2.6.21.stable] PCI: Fix fakephp deadlock

2008-02-04 Thread Ian Abbott
From: Ian Abbott [EMAIL PROTECTED] Stable request for 2.6.21. This patch works around a problem in the fakephp driver when a process writing 0 to a power sysfs file to fake removal of a PCI device ends up deadlocking itself in the sysfs code. This patch is *not* functionally identical to the