lkml.org 
[lkml]   [2012]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/5] Correctly clean up pci root buses in function pci_remove_bus()
From
On Sun, Mar 11, 2012 at 10:48 AM, Jiang Liu <liuj97@gmail.com> wrote:
> The function pci_create_root_bus() allocates the pci bus structure,
> registers the bus device and creates the legacy files for a pci root
> bus, but returns without setting the is_added flag. The is_added flag
> for a pci root bus will be set by function pci_scan_child_bus().

> If a pci root bus is destroyed before calling pci_scan_child_bus(),
> the is_added flag will not be set.

how that can be met?

Do we have pci_remove_rescan_mutex around them?

Yinghai


\
 
 \ /
  Last update: 2012-03-13 07:27    [W:0.060 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site