scsi: convert to using sg helpers
authorJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:08:49 +0000 (11:08 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:08:49 +0000 (11:08 +0200)
commitc6132da1704be252ee6c923f47501083d835c238
treeaa031c9091be1713e903be7ddc1ec8a03348d24f
parentf565913ef8a8d0cfa46a1faaf8340cc357a46f3a
scsi: convert to using sg helpers

This converts the SCSI mid layer to using the sg helpers for looking up
sg elements, instead of doing it manually.

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