projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3375e29
)
nvme-fabrics: request transport module
author
Sagi Grimberg
<sagi@grimberg.me>
Sun, 24 Sep 2017 13:15:55 +0000
(16:15 +0300)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 4 Oct 2017 07:43:58 +0000
(09:43 +0200)
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>
drivers/nvme/host/fabrics.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/fabrics.c
b/drivers/nvme/host/fabrics.c
index 555c976cc2ee7aae729c6465003b5cdffa11d594..8bca36a469245011735e746313d15a99aa7c9bd1 100644
(file)
--- 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