diff options
author | Guan Junxiong <guanjunxiong@huawei.com> | 2017-08-04 17:27:47 +0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-08-28 21:38:20 +0200 |
commit | 130c24b5be80512be973e3a614abda75f5896b42 (patch) | |
tree | 7d9650b58e3aa5a702c39db123422356471eeb67 /drivers/nvme/host/rdma.c | |
parent | 1645d5036f9201bd0925aff099fa92fbe7afaff4 (diff) | |
download | linux-130c24b5be80512be973e3a614abda75f5896b42.tar.gz linux-130c24b5be80512be973e3a614abda75f5896b42.tar.xz |
nvmet: fix the return error code of target if host is not allowed
nvmf target shall return NVME_SC_CONNECT_INVALID_HOST instead of
the gereal code INVALID_PARAM when the given host nqn is not allowed
to connect. Refer to the 2.2.1 section of the NVMe over Fabrics Spec.
Signed-off-by: Guan Junxiong <guanjunxiong@huawei.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/rdma.c')
0 files changed, 0 insertions, 0 deletions