]> git.baikalelectronics.ru Git - kernel.git/commit
target/sbc: Check that the LBA and number of blocks are correct in VERIFY
authorChristophe Vu-Brugier <cvubrugier@yahoo.fr>
Tue, 10 Jun 2014 15:53:22 +0000 (17:53 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 11 Jun 2014 18:52:40 +0000 (11:52 -0700)
commite0d0c93aa9cd0c94ee8b7ef148ec06dfd2e83c4c
tree43c0534aa3289555eac9ab3b231ffcdef9cf59d0
parent2f9996bbec175ff62ba309d16136b42d4f4c1d68
target/sbc: Check that the LBA and number of blocks are correct in VERIFY

This patch extracts LBA + sectors for VERIFY, and adds a goto check_lba
to perform the end-of-device checking.

(Update patch to drop lba_check usage - nab)

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c