]> git.karo-electronics.de Git - linux-beck.git/commit
scsi: Move sense handling routines to scsi_common
authorSagi Grimberg <sagig@mellanox.com>
Wed, 8 Jul 2015 14:58:52 +0000 (17:58 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
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 <sagig@mellanox.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/scsi_common.c
drivers/scsi/scsi_error.c
include/scsi/scsi_common.h
include/scsi/scsi_eh.h