提交 d1f1071f 编写于 作者: S Sagi Grimberg 提交者: Christoph Hellwig

nvme-fabrics: request transport module

Help userspace to make sure transport module is loaded.
Signed-off-by: NSagi Grimberg <sagi@grimberg.me>
Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 3375e29c
...@@ -841,6 +841,9 @@ nvmf_create_ctrl(struct device *dev, const char *buf, size_t count) ...@@ -841,6 +841,9 @@ nvmf_create_ctrl(struct device *dev, const char *buf, size_t count)
if (ret) if (ret)
goto out_free_opts; goto out_free_opts;
request_module("nvme-%s", opts->transport);
/* /*
* Check the generic options first as we need a valid transport for * Check the generic options first as we need a valid transport for
* the lookup below. Then clear the generic flags so that transport * the lookup below. Then clear the generic flags so that transport
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册