From: Robert Love Date: Tue, 3 Nov 2009 19:47:28 +0000 (-0800) Subject: [SCSI] libfc: Add routine to copy data from a buffer to a SG list X-Git-Tag: v2.6.33-rc1~344^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5868287460b0fc243e828a0b856cd53d8bf45739;p=pandora-kernel.git [SCSI] libfc: Add routine to copy data from a buffer to a SG list When handling the multi-frame responses of fc pass-thru requests, a code segment similar to fc_fcp_recv_data (routine to receive inbound SCSI data) is used in the response handler. This patch is to add a routine, called fc_copy_buffer_to_sglist(), to handle the common function of copying data from a buffer to a scatter- gather list in order to avoid code duplication. Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed