summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2014-11-14 12:54:36 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2014-12-01 21:35:13 -0800
commite7b7af6e98b390c1f7d5d208d18cb7d8b7beb0f1 (patch)
tree2fe49b2ac1b65e6f0b4dce53cf62e73640586007 /drivers/vhost
parentb1a5ad006b34ded9dc7ec64988deba1b3ecad367 (diff)
downloadblackbird-obmc-linux-e7b7af6e98b390c1f7d5d208d18cb7d8b7beb0f1.tar.gz
blackbird-obmc-linux-e7b7af6e98b390c1f7d5d208d18cb7d8b7beb0f1.zip
target: Fix target_core_register_fabric() for built-in fabric modules
If we try to create a fabric directory in configfs for one of the default hard-coded fabric modules (iscsi and loopback), and that fabric is actually built into the kernel, then the operation will spuriously fail because request_module() (for the code that's already linked into the kernel) fails. Fix this by running the autoprobing code only if an initial target_core_get_fabric() fails. Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud