]> 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)
commit3612281ab9bac4d34313ea1e0c09e4b5a3b2a4ee
tree976bd6605e25f8f874837b5803b31aa4333cb566
parent81e2207f3967d5a49ac8665235055d67f5ef9c85
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