nvme: make nvmf_register_transport require a create_ctrl callback
authorJohannes Thumshirn <jthumshirn@suse.de>
Fri, 27 Jan 2017 08:03:45 +0000 (09:03 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 22 Feb 2017 20:34:00 +0000 (13:34 -0700)
commite5a39dd8238e5d42c830bbd8d31211adf6fea6ca
treea261dc1b1658d73b1de0ba237f26abed4e967276
parent986994a27587efd8ce4c595cab89b570f7475359
nvme: make nvmf_register_transport require a create_ctrl callback

nvmf_create_ctrl() relys on the presence of a create_crtl callback in the
registered nvmf_transport_ops, so make nvmf_register_transport require one.

Update the available call-sites as well to reflect these changes.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/fabrics.c
drivers/nvme/host/fabrics.h
drivers/nvme/host/fc.c
drivers/nvme/host/rdma.c
drivers/nvme/target/loop.c