nvme-fc: require target or discovery role for fc-nvme targets
authorJames Smart <jsmart2021@gmail.com>
Fri, 5 May 2017 23:13:15 +0000 (16:13 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 20 May 2017 16:11:34 +0000 (10:11 -0600)
commit85e6a6adf8de7f992e01d2c3c59d9875d658b276
tree976bd6605e25f8f874837b5803b31aa4333cb566
parent4123109050a869a8871e58a50f28f383d41e49ad
nvme-fc: require target or discovery role for fc-nvme targets

In order to create an association, the remoteport must be
serving either a target role or a discovery role.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/fc.c