gdth: Make one abuse of scsi_cmnd less obvious
commitb8bff2aeafb1959de27bd889d1c103577b36712f
authorMatthew Wilcox <willy@linux.intel.com>
Tue, 2 Oct 2007 20:40:22 +0000 (2 22:40 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:55:11 +0000 (12 14:55 -0400)
tree6e199ede597bc3cbd97125983fa1c74c2a4c0745
parent28424d3a503d43482a5537e556f7b7652d8e56d8
gdth: Make one abuse of scsi_cmnd less obvious

  Rather than having internal commands abuse scsi_done to call
  gdth_scsi_done, have all the places that use to call scsi_done directly
  call gdth_scsi_done, which now checks whether the command was internal,
  and calls scsi_done if not.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/gdth.c