scsi: Move sense handling routines to scsi_common
authorSagi Grimberg <[email protected]>
Wed, 8 Jul 2015 14:58:52 +0000 (17:58 +0300)
committerNicholas Bellinger <[email protected]>
Fri, 24 Jul 2015 05:10:39 +0000 (22:10 -0700)
commit7708c1656552ddd60b9b9df3a9ee156acd1801ba
tree732a2e11a99a90fbd601c64b3955f02b6bc8a05f
parentab78fef4d5f79134042ae0e1e2c259e1226aa5bd
scsi: Move sense handling routines to scsi_common

Sense data handling is also done in the target stack.
Hence, move sense handling routines to scsi_common so
the target will be able to use them as well.

Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
drivers/scsi/scsi_common.c
drivers/scsi/scsi_error.c
include/scsi/scsi_common.h
include/scsi/scsi_eh.h