diff options
author | Jiang Liu <[email protected]> | 2013-05-31 12:21:31 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2013-06-05 12:18:50 -0600 |
commit | dfab88beda88d6c24111e5966b08ecf813c3a18a (patch) | |
tree | f3450d385cc3362201b3ac5a6c3d7cd8d8945886 /lib/mpi/mpi-bit.c | |
parent | fbf33f516bdbcc2ab1ba1e54dfb720b0cfaa6874 (diff) |
PCI: Hide remove and rescan sysfs interfaces for SR-IOV virtual functions
PCI devices for SR-IOV virtual functions should only be created/
destroyed by pci_enable_sriov()/pci_disable_sriov() because special
data structures are associated with SR-IOV virtual functions.
So hide hotplug related sysfs interfaces "remove" and "rescan" for
SR-IOV virtual functions, otherwise it may cause memory leakage
and other issues.
Signed-off-by: Jiang Liu <[email protected]>
Signed-off-by: Yijing Wang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Donald Dutile <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Ram Pai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions