aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/hypfs/Makefile
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-10-20 21:13:08 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-22 19:42:35 -0400
commitc4ed02fae78bf6cea0b22edd34a67df972f29832 (patch)
treeeaa2a319b16f601d43f1d39db768d3b6d7a5a4ff /arch/s390/hypfs/Makefile
parentd389fec6a2aec1ea7d47833f36a0413a619c8c12 (diff)
PCI: Fix reference counting bug
pci_get_subsys() will decrement the reference count of the device that it starts searching from. Unfortunately, the pci_find_device() interface will already have decremented the reference count of the device earlier, so the device will end up losing all reference counts and be freed. We can fix this by incrementing the reference count of the device to start searching from before calling pci_get_subsys(). Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/s390/hypfs/Makefile')
0 files changed, 0 insertions, 0 deletions