summary refs log tree commit diff stats
path: root/block/commit.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2019-03-11 09:11:53 -0600
committerKevin Wolf <kwolf@redhat.com>2019-03-12 20:30:14 +0100
commit9d6459d21a6e630264ead21558d940366d2f2450 (patch)
tree4ff2b8fbaaaba5024b5d17aff57211b57c599167 /block/commit.c
parent23dece19da41724349809873923e20a48b619cb7 (diff)
downloadfocaccia-qemu-9d6459d21a6e630264ead21558d940366d2f2450.tar.gz
focaccia-qemu-9d6459d21a6e630264ead21558d940366d2f2450.zip
nvme: fix write zeroes offset and count
The implementation used blocks units rather than the expected bytes.

Fixes: c03e7ef12a9 ("nvme: Implement Write Zeroes")
Reported-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions