]> err.no Git - linux-2.6/commit
[SCSI] avoid overflows in disk size calculations
authorJames Bottomley <jejb@mulgrave.(none)>
Fri, 28 Oct 2005 18:17:30 +0000 (13:17 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 28 Oct 2005 18:17:30 +0000 (13:17 -0500)
commit7a691bd34130920bef4d118a3f555ebc48544a63
tree50b675e97e1525d2e07bf3c5bdc0098623768694
parentd578a4258bf674ef86b16bf29267fb302125aaee
[SCSI] avoid overflows in disk size calculations

Be more careful about doing the arithmetic in the non-LBD case.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sd.c