]> git.baikalelectronics.ru Git - kernel.git/commit
Target/sbc: Fix protection copy routine
authorSagi Grimberg <sagig@mellanox.com>
Wed, 12 Feb 2014 09:40:25 +0000 (11:40 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 12 Feb 2014 23:14:45 +0000 (15:14 -0800)
commite1fe8dc41682669fab3aa527fb308b64adefdf7b
treec18b376c410888a03f54414d3f420f66f1faf872
parent9d1c37602e5e830b799407eef4c33824edfc8e7e
Target/sbc: Fix protection copy routine

Need to take into account that protection sg_list
(copy-buffer) may consist of multiple entries.

Changes from v0:
- Changed commit description

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