nvme: fix write zeroes offset and count
The implementation used blocks units rather than the expected bytes. Fixes: c03e7ef1 ("nvme: Implement Write Zeroes") Reported-by: NMing Lei <ming.lei@redhat.com> Signed-off-by: NKeith Busch <keith.busch@intel.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
Showing
想要评论请 注册 或 登录