[SCSI] usb: transport - convert to accessors and !use_sg code path removal
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 10 Sep 2007 15:01:08 +0000 (18:01 +0300)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:22:38 +0000 (18:22 -0600)
commit6d416e6173394defda5933e419e805b696681b7e
tree5d2905c8a36fff50c3972d2906d46b6a4d37fad7
parent4776e99ebb171d61c7e242db437358183f27b471
[SCSI] usb: transport - convert to accessors and !use_sg code path removal

  - This patch depends on:
    usb: transport.c use scsi_eh API in REQUEST_SENSE execution

  - Use scsi data accessors and remove of !use_sg code path.
  - New usb_stor_bulk_srb() for use by drivers

[jejb: updated with corrective fix.

had a bug in residual handling in the new usb_stor_bulk_srb()
function.  Found by Gabriel C. in -mm tree.

Tested-by: Gabriel C <nix.or.die@googlemail.com>
]

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Acked-by: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/usb/storage/transport.c
drivers/usb/storage/transport.h