]> git.baikalelectronics.ru Git - kernel.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)
commitd71c0d67424f04498628a3de81fc616f9f1158d8
tree732a2e11a99a90fbd601c64b3955f02b6bc8a05f
parentbfedf0ed7c3e0bdde392ec1485f18a2694e1f0ab
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