Re: [PATCH] ide: fix PCI refcounting

2007-08-21 Thread Bartlomiej Zolnierkiewicz
On Saturday 18 August 2007, Sergei Shtylyov wrote: > The IDE core never marked the PCI IDE devices as being in use after succesfull > driver probe call (the devices were marked in use only while being probed), > and > so was susceptible to issues caused by unsolicited PCI hotplug device removal. >

[PATCH] ide: fix PCI refcounting

2007-08-18 Thread Sergei Shtylyov
The IDE core never marked the PCI IDE devices as being in use after succesfull driver probe call (the devices were marked in use only while being probed), and so was susceptible to issues caused by unsolicited PCI hotplug device removal. So, add pci_dev_get() call to ide_scan_pcidev() and convert t