diff options
author | Nicholas Bellinger <nab@daterainc.com> | 2013-08-26 00:44:03 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-09-09 23:29:30 +0200 |
commit | 200939940e040fa11609956a09c78a5782310c61 (patch) | |
tree | 5ee5aa0fcb81e24099baab8f16af0fb7405a0de2 /lib | |
parent | target: Convert se_cmd->t_bidi_data_sg checks to use SCF_BIDI (diff) | |
download | linux-200939940e040fa11609956a09c78a5782310c61.tar.xz linux-200939940e040fa11609956a09c78a5782310c61.zip |
target: Refactor transport_generic_get_mem to target_alloc_sgl
This patch refactors transport_generic_get_mem() to target_alloc_sgl()
for accepting **sgl, *nents, length and zero_page as function parameters
in order to be used for both se_cmd->t_data_sg + se_cmd->t_bidi_data_sg
allocations.
Reported-by: Christoph Hellwig <hch@lst.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Martin Petersen <martin.petersen@oracle.com>
Cc: Chris Mason <chris.mason@fusionio.com>
Cc: James Bottomley <JBottomley@Parallels.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Nicholas Bellinger <nab@daterainc.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions