diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-06-07 23:04:28 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-07 23:04:28 +0300 |
commit | 6c70f899b8089ae23cdb4aa63050e3df4e20c71e (patch) | |
tree | bb86ffe39b6acce8681b31cbce98e15806967cf4 /drivers/nvme/target | |
parent | 19e9da9e86c43687ed6a56bd39a52c6649973a35 (diff) | |
parent | 62f99b62e5e3b88d23b6ced4380199e8386965af (diff) | |
download | linux-6c70f899b8089ae23cdb4aa63050e3df4e20c71e.tar.xz |
Merge branch 'nvme-5.2-rc-next' of git://git.infradead.org/nvme into for-linus
Pull NVMe fixes from Sagi.
* 'nvme-5.2-rc-next' of git://git.infradead.org/nvme:
nvme-rdma: use dynamic dma mapping per command
nvme: Fix u32 overflow in the number of namespace list calculation
nvmet: fix data_len to 0 for bdev-backed write_zeroes
nvme-tcp: fix queue mapping when queue count is limited
nvme-rdma: fix queue mapping when queue count is limited
Diffstat (limited to 'drivers/nvme/target')
-rw-r--r-- | drivers/nvme/target/io-cmd-bdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/target/io-cmd-bdev.c b/drivers/nvme/target/io-cmd-bdev.c index 3efc52f9c309..7a1cf6437a6a 100644 --- a/drivers/nvme/target/io-cmd-bdev.c +++ b/drivers/nvme/target/io-cmd-bdev.c @@ -293,6 +293,7 @@ u16 nvmet_bdev_parse_io_cmd(struct nvmet_req *req) return 0; case nvme_cmd_write_zeroes: req->execute = nvmet_bdev_execute_write_zeroes; + req->data_len = 0; return 0; default: pr_err("unhandled cmd %d on qid %d\n", cmd->common.opcode, |