Target/sbc: Don't use sg as iterator in sbc_verify_read
authorSagi Grimberg <sagig@mellanox.com>
Sun, 23 Feb 2014 12:20:08 +0000 (14:20 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Feb 2014 00:35:32 +0000 (16:35 -0800)
Because then this sg is passed to sbc_copy_prot which will
hit a protection fault in cases we have more than a single sg.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c

Simple merge