scsi_dh_alua: allocate RTPG buffer separately
authorHannes Reinecke <hare@suse.de>
Fri, 19 Feb 2016 08:17:03 +0000 (09:17 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commitc49c83458f73d9fff7f441fb73268af3d15cfe52
tree42ca72e28bffd1b3e55f4371d7c89a394a963097
parent40bb61a773478e3f8758698142f4de90efac12f0
scsi_dh_alua: allocate RTPG buffer separately

The RTPG buffer will only evaluated within alua_rtpg(),
so we can allocate it locally there and avoid having to
put it into the global structure.

Reviewed-by: Ewan Milne <emilne@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_alua.c