nvme-fc: don't bother to validate ioccsz and iorcsz
authorJames Smart <jsmart2021@gmail.com>
Fri, 17 Feb 2017 15:57:28 +0000 (07:57 -0800)
committerJens Axboe <axboe@fb.com>
Wed, 22 Feb 2017 20:34:00 +0000 (13:34 -0700)
commitfaef3af69dd7976315d37316698a436b81d05363
tree3b99804390a6b3f87701dae14626b26e34b37ab2
parent9ef3932e250f8e2e11ffbc0c1f28b3ba5dc40cd6
nvme-fc: don't bother to validate ioccsz and iorcsz

Discovery controllers don't set the values. They are in reserved
areas of the Identify Controller data structure.

Given the cmd completed, the minimal capsule sizes are supported,
so no need to check nqn to detect discovery controllers and
special case validations.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/fc.c