SG: Convert SCSI to use scatterlist helpers for sg chaining
authorJens Axboe <jens.axboe@oracle.com>
Thu, 15 Nov 2007 08:13:11 +0000 (09:13 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 28 Jan 2008 09:05:27 +0000 (10:05 +0100)
commit5ed7959ede0936c55e50421a53f153b17080e876
tree52fae9cd4959b7855e37c5dc4d0ce7eb22656cdb
parent0db9299f48ebd4a860d6ad4e1d36ac50671d48e7
SG: Convert SCSI to use scatterlist helpers for sg chaining

Also change scsi_alloc_sgtable() to just return 0/failure, since it
maps to the command passed in. ->request_buffer is now no longer needed,
once drivers are adapted to use scsi_sglist() it can be killed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_tgt_lib.c
include/scsi/scsi_cmnd.h