]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd6a65fdc8903e632aa7bf86ee0f61a73969371f6
treec18b376c410888a03f54414d3f420f66f1faf872
parent9d8abf45944e4f1c18a04070fc3ed2f3ffcbbcb6
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