[PATCH 3.18 009/124] scsi: sd: Fix capacity calculation with 32-bit sector_t

2017-04-20 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Martin K. Petersen commit 7c856152cb92f8eee2df29ef325a1b1f43161aff upstream. We previously made sure that the reported disk capacity was less than 0x

[PATCH 3.18 009/124] scsi: sd: Fix capacity calculation with 32-bit sector_t

2017-04-20 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Martin K. Petersen commit 7c856152cb92f8eee2df29ef325a1b1f43161aff upstream. We previously made sure that the reported disk capacity was less than 0x blocks when the kernel was not