Matthew Wilcox 6f5391c283 [SCSI] Get rid of scsi_cmnd->done
The ULD ->done callback moves into the scsi_driver.  By moving the call
to scsi_io_completion() from scsi_blk_pc_done() to scsi_finish_command(),
we can eliminate the latter entirely.  By returning 'good_bytes' from
the ->done callback (rather than invoking scsi_io_completion()), we can
stop exporting scsi_io_completion().

Also move the prototypes from sd.h to sd.c as they're all internal anyway.
Rename sd_rw_intr to sd_done and rw_intr to sr_done.

Inspired-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-10-12 14:52:46 -04:00
..
2007-07-31 15:39:39 -07:00
2007-04-01 10:10:04 -05:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2007-10-12 14:48:19 -04:00
2007-05-06 09:33:11 -05:00
2007-10-12 14:51:56 -04:00
2007-10-12 14:49:22 -04:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2007-07-31 10:36:30 -05:00
2006-09-12 17:12:31 -05:00
2007-10-12 14:51:44 -04:00
2007-10-12 14:51:44 -04:00
2007-05-31 17:30:04 -04:00
2007-10-12 14:37:35 -04:00
2006-09-12 17:12:31 -05:00
2007-10-12 14:52:04 -04:00
2007-10-12 14:52:04 -04:00
2007-05-24 09:13:25 -05:00
2007-10-12 14:52:46 -04:00
2007-10-12 14:52:46 -04:00
2007-10-12 14:52:46 -04:00
2007-07-18 11:16:32 -05:00
2007-10-12 14:46:51 -04:00
2007-10-12 14:52:46 -04:00
2007-10-12 14:52:46 -04:00
2007-07-14 19:12:15 -05:00
2007-10-12 14:52:46 -04:00
2006-03-23 07:38:09 -08:00
2007-07-31 10:44:01 -05:00
2007-07-31 10:44:01 -05:00
2007-05-31 17:30:04 -04:00
2006-11-15 16:43:50 -06:00