Skip to content
Commit 543c09c8 authored by Rodrigo R. Galvao's avatar Rodrigo R. Galvao Committed by Jens Axboe
Browse files

nvmet: Fix nvmet_execute_write_zeroes sector count



We have to increment the number of logical blocks to a 1's based value
in the native format prior to converting to 512b units.

Signed-off-by: default avatarRodrigo R. Galvao <rosattig@linux.vnet.ibm.com>
[changelog]
Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 22b55601
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment