nvme-fcloop: refactor to enable target to host LS
authorJames Smart <jsmart2021@gmail.com>
Tue, 31 Mar 2020 16:50:00 +0000 (09:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:18:34 +0000 (16:18 -0600)
commitea39765843faf5f4426ffda000b0ca02217a1eeb
tree33f6506706c40d0827a1363faea2045f15ebdcc4
parent47bf3241064498878ffed10a69131be9154201eb
nvme-fcloop: refactor to enable target to host LS

Currently nvmefc-loop only sends LS's from host to target.
Slightly rework data structures and routine names to reflect this
path. Allows a straight-forward conversion to be used by ls's
from target to host.

Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/fcloop.c