nvmet: fix byte swap in nvmet_execute_write_zeroes
authorChristoph Hellwig <hch@lst.de>
Fri, 31 Mar 2017 15:00:07 +0000 (17:00 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Sun, 2 Apr 2017 07:24:15 +0000 (10:24 +0300)
commit78ce3daa7d703028c00eff2e03ad22efd116e549
tree6cad25c182d8a69eb6eb74b9e568eba9f40aa62d
parent5ac5fcc6c7a2339a34c876a9b6926a7f17225493
nvmet: fix byte swap in nvmet_execute_write_zeroes

The length field in the Write Zeroes command is a 16-bit field.

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