From: Boaz Harrosh Date: Fri, 14 Dec 2007 00:14:27 +0000 (-0800) Subject: [SCSI] tgt: use scsi_init_io instead of scsi_alloc_sgtable X-Git-Tag: v2.6.25-rc1~1140^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb52d82f45df3a2661d88befba7c79a7db8be496;p=pandora-kernel.git [SCSI] tgt: use scsi_init_io instead of scsi_alloc_sgtable If we export scsi_init_io()/scsi_release_buffers() instead of scsi_{alloc,free}_sgtable() from scsi_lib than tgt code is much more insulated from scsi_lib changes. As a bonus it will also gain bidi capability when it comes. [jejb: rebase on to sg_table and fix up rejections] Signed-off-by: Boaz Harrosh Acked-by: FUJITA Tomonori Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- Reading git-diff-tree failed