Target/transport: Allocate protection sg if needed
authorSagi Grimberg <sagig@mellanox.com>
Wed, 19 Feb 2014 15:50:14 +0000 (17:50 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 13 Mar 2014 19:03:02 +0000 (12:03 -0700)
commitacb2bde3e32100f1ab50e38f0db03660a1cb0a06
tree086cdc7707bbefab093d6e5ee763b9070d1707be
parent1e3ab99da66312f503b3b28c98173168008a8605
Target/transport: Allocate protection sg if needed

In case protection information is involved, allocate
protection SG-list for transport.

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