]> 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)
commit11cb529c7f0bec363b6fbfca972d723f1cb83513
treec18b376c410888a03f54414d3f420f66f1faf872
parentfd48c97c4e2f407be0b396171ab043b9e1ea35df
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