ipr: set scsi_level correctly for disk arrays
authorBrian King <brking@linux.vnet.ibm.com>
Tue, 2 Dec 2014 18:47:46 +0000 (12:47 -0600)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Dec 2014 12:34:29 +0000 (13:34 +0100)
commit60654e250cd32d4315401a468ea779dfe5aed2a9
tree1174bfe8bb1ad0fdc7ccd0385b76b8b65e052dc5
parentf688f96d86794600686e2c11745ee3ffa3e6554e
ipr: set scsi_level correctly for disk arrays

Set the scsi_level correctly for disk arrays such
that things like the rotational field get set
properly by sd.c.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/ipr.c