nvme: add missing byte swap in nvme_setup_discard
authorChristoph Hellwig <hch@lst.de>
Fri, 31 Mar 2017 15:00:05 +0000 (17:00 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Sun, 2 Apr 2017 07:24:15 +0000 (10:24 +0300)
commitf1dd03a84dbf3e5ca91295a3d04c882b8bd86251
tree3437d739d83b0dabb57779d109ca3b24498ebb34
parentbf17aa36c0f199f5b254262e77eaefda7da0f50b
nvme: add missing byte swap in nvme_setup_discard

Fixes: b35ba01e ("nvme: support ranged discard requests")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/core.c