]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit616b94034544c41f7d2c7ce6b61e99d6f6f176ff
tree976bd6605e25f8f874837b5803b31aa4333cb566
parent7215b421370ea58d54f4639a02f23feebb8452a5
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