diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-09-24 16:15:55 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-10-04 09:43:58 +0200 |
commit | d1f1071f8151355ec149117238e9c5aa6404ca9f (patch) | |
tree | 14b252dfa1bcf7ed5be1c45d9dadfaa4501de84b /drivers/nvme/host/fabrics.c | |
parent | 3375e29c280894f8d5e65c6920630a42db069599 (diff) | |
download | linux-d1f1071f8151355ec149117238e9c5aa6404ca9f.tar.bz2 |
nvme-fabrics: request transport module
Help userspace to make sure transport module is loaded.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/fabrics.c')
-rw-r--r-- | drivers/nvme/host/fabrics.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nvme/host/fabrics.c b/drivers/nvme/host/fabrics.c index 555c976cc2ee..8bca36a46924 100644 --- a/drivers/nvme/host/fabrics.c +++ b/drivers/nvme/host/fabrics.c @@ -841,6 +841,9 @@ nvmf_create_ctrl(struct device *dev, const char *buf, size_t count) if (ret) goto out_free_opts; + + request_module("nvme-%s", opts->transport); + /* * Check the generic options first as we need a valid transport for * the lookup below. Then clear the generic flags so that transport |