nvme-tcp: fix wrong setting of request iov_iter
authorSagi Grimberg <sagi@grimberg.me>
Thu, 14 Jan 2021 21:15:24 +0000 (13:15 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 09:26:11 +0000 (10:26 +0100)
commitcb9b870fba3eba57cf3bcd7c6c4d4aa88bc5fe70
tree0218fb0a67198d493fa9ae07637a77a516260dc4
parentf9063a53274d25a878310db3fb645bfa9e49c917
nvme-tcp: fix wrong setting of request iov_iter

We might set the iov_iter direction wrong, which is harmless for this
use-case, but get it right. Also this makes the code slightly cleaner.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c