Skip to content
Commit 6ef31dc7 authored by Christophe Vu-Brugier's avatar Christophe Vu-Brugier Committed by Nicholas Bellinger
Browse files

target/sbc: Remove sbc_check_valid_sectors()



A similar check is performed at the end of sbc_parse_cdb() and is now
enforced if the SYNCHRONIZE CACHE command's backend supports
->execute_sync_cache().

(Add check_lba goto to avoid *_max_sectors checks - nab)

Signed-off-by: default avatarChristophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 22c7aaa5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment