nvmet-fc: fix byte swapping in nvmet_fc_ls_create_association
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Jul 2017 09:14:46 +0000 (11:14 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jul 2017 14:41:56 +0000 (08:41 -0600)
commit7722ecdc54a4019eaeeebfdac53915bf0c68a7ff
treee29a73e92e460fffd586c124bb9575e2e95b6ec3
parentdc1a0afbacaeaced8f5679a99047c0467f1099e9
nvmet-fc: fix byte swapping in nvmet_fc_ls_create_association

We always need to do non-equal comparisms on the native endian versions
to get the correct result.

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