Messages in this thread | | | Date | Tue, 30 Apr 2013 14:29:35 -0700 | Subject | Re: [PATCH] PCI: Fix racing for pci device removing via sysfs | From | Yinghai Lu <> |
| |
On Mon, Apr 29, 2013 at 3:17 PM, Yinghai Lu <yinghai@kernel.org> wrote: > On Mon, Apr 29, 2013 at 11:15 AM, Bjorn Helgaas <bhelgaas@google.com> wrote: >> >> I think the 1a:01.0 pci_dev should retain its reference to the pci_bus >> for as long as the pci_dev exists, so the pci_bus_put() should go in >> pci_release_dev() instead. > > Good point. > > will rework pci remove sequence.
Please check attached version that will not need to touch pci sysfs bits.
Thanks
Yinghai [unhandled content-type:application/octet-stream] | |