target/sbc: Remove sbc_check_valid_sectors()
authorChristophe Vu-Brugier <cvubrugier@yahoo.fr>
Tue, 10 Jun 2014 15:53:21 +0000 (17:53 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 11 Jun 2014 18:52:40 +0000 (11:52 -0700)
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: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found