sg: convert the non-data path to use the block layer
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 28 Aug 2008 07:17:07 +0000 (16:17 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:10 +0000 (08:56 +0200)
commit10865dfa34e7552c4c64606edcdf1e21a110c985
treefe39b3528b667b3a0690246e7c05048dfcf8fd09
parent152e283fdfea0cd11e297d982378b55937842dde
sg: convert the non-data path to use the block layer

This patch converts the non data path to use the block layer functions
(blk_get_request, blk_execute_rq_nowait, etc) instead of uses
scsi_execute_async().

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Douglas Gilbert <dougg@torque.net>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/sg.c