forked from Minki/linux
scsi: hpsa: limit transfer length to 1MB, not 512kB
e2c7b43
was supposed to limit transfer length to 1MB, but got the unit of max_sectors wrong. Fixes:e2c7b433f7
("scsi: hpsa: limit transfer length to 1MB") Signed-off-by: Martin Wilck <mwilck@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
53e13ee087
commit
eb53a3ea3e
@ -976,7 +976,7 @@ static struct scsi_host_template hpsa_driver_template = {
|
||||
#endif
|
||||
.sdev_attrs = hpsa_sdev_attrs,
|
||||
.shost_attrs = hpsa_shost_attrs,
|
||||
.max_sectors = 1024,
|
||||
.max_sectors = 2048,
|
||||
.no_write_same = 1,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user