[SCSI] mpt fusion: make mptsas_smp_handler update resid
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sun, 30 Dec 2007 10:34:52 +0000 (19:34 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:29:09 +0000 (18:29 -0600)
commit38b3167f75c9508156b974d19692c19b78292e2e
tree2b51dfa5f921bec99408b0742601a1c9451fe00d
parentfdf234527a070f6fc89f3ec5ee4ae1b263e59939
[SCSI] mpt fusion: make mptsas_smp_handler update resid

This patch fixes mptsas_smp_handler to update both din_resid or
dout_resid on success. bsg can report back the residual.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/message/fusion/mptsas.c