commit | 18f9e9d150fccfa747875df6f0a9f606740762b3 | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.ibm.com> | Fri Dec 21 15:14:18 2018 +0100 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Jan 01 19:03:51 2019 -0600 |
tree | fe068d529e5d7058241f561146e1581365451e1e | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a [diff] |
PCI/IOV: Factor out sriov_add_vfs() Provide sriov_add_vfs() as a wrapper to scan for VFs that cleans up after itself. This is just a code simplification. No functional change. Signed-off-by: Sebastian Ott <sebott@linux.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Christoph Hellwig <hch@lst.de>