nvmet-fc: ensure target queue id within range.
authorJames Smart <jsmart2021@gmail.com>
Tue, 19 Sep 2017 23:33:56 +0000 (16:33 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Sep 2017 18:42:11 +0000 (12:42 -0600)
commit0c319d3a144d4b8f1ea2047fd614d2149b68f889
treec5c1a848aad36b300c74be53c21190b3c6694b3b
parent3688feb582a1bc4e58ad50f5eccfdb90615de27b
nvmet-fc: ensure target queue id within range.

When searching for queue id's ensure they are within the expected range.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/fc.c