[SCSI] libfc: Return a valid return code in fc_fcp_pkt_abort()
authorHillf Danton <dhillf@gmail.com>
Sat, 29 Jan 2011 00:03:21 +0000 (16:03 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Feb 2011 16:57:06 +0000 (10:57 -0600)
commitfa79dbdbdd166025b5835bddaff152bb57c4440a
treef631eae1377cee65a35d7559d23839cf3ebdbf5e
parentf56635a8695f6b4fccf546cb2d5cf246d1892a0f
[SCSI] libfc: Return a valid return code in fc_fcp_pkt_abort()

Here ticks_left is added to record the result of
wait_for_completion_timeout().

[ Patch title and description edited by Robert Love
  to make it more descriptive  ]

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_fcp.c