From: Nicholas Bellinger Date: Sun, 25 Aug 2013 22:44:03 +0000 (-0700) Subject: target: Refactor transport_generic_get_mem to target_alloc_sgl X-Git-Tag: v3.12-rc1~23^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=200939940e040fa11609956a09c78a5782310c61;p=pandora-kernel.git 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 Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc: James Bottomley Cc: Nicholas Bellinger Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed