scsi: refactor scsi_reset_provider handling
authorChristoph Hellwig <hch@lst.de>
Sat, 11 Oct 2014 10:06:47 +0000 (12:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:16:10 +0000 (11:16 +0100)
Pull the common code from the two callers into the function,
and rename it to scsi_ioctl_reset.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>

No differences found