]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "pci: use device_remove_file_self() instead of device_schedule_callback()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:03:06 +0000 (14:03 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:03:06 +0000 (14:03 -0800)
commit6e22daf9ec15d81181cdb92475dd6dc897785999
treee0c5ce1f9a9606b93df20d729ae424c75e3dab67
parentabb45c156eeb2d685ea4f75ab80546208274a483
Revert "pci: use device_remove_file_self() instead of device_schedule_callback()"

This reverts commit 4370cbd4822a648510fff688bb73018b8245e36d.

Tejun writes:
        I'm sorry but can you please revert the whole series?
        get_active() waiting while a node is deactivated has potential
        to lead to deadlock and that deactivate/reactivate interface is
        something fundamentally flawed and that cgroup will have to work
        with the remove_self() like everybody else.  IOW, I think the
        first posting was correct.

Cc: Tejun Heo <tj@kernel.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pci-sysfs.c