ea263c7fad
max_discard_sectors only 32bits, and some non scsi backend
devices will set this to the max 0xffffffff, so we can end up
overflowing during the max_unmap_lba_count calculation.
This fixes a regression caused by my patch:
commit
|
||
---|---|---|
.. | ||
iscsi | ||
target_core_backend.h | ||
target_core_base.h | ||
target_core_fabric.h |