summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2010-09-28 20:48:47 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-10-12 00:33:20 +0200
commit526f7c7950bbf1271e59177d70d74438c2ef96de (patch)
tree5e8550890534e73a307e53707d68ccbedaac62af /fs/gfs2/incore.h
parent[SCSI] st: add MTWEOFI to write filemarks without flushing drive buffer (diff)
downloadlinux-526f7c7950bbf1271e59177d70d74438c2ef96de.tar.xz
linux-526f7c7950bbf1271e59177d70d74438c2ef96de.zip
[SCSI] sd: Fix overflow with big physical blocks
The hw_sector_size variable could overflow if a device reported huge physical blocks. Switch to the more accurate physical_block_size terminology and make sure we use an unsigned int to match the range permitted by READ CAPACITY(16). Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'fs/gfs2/incore.h')
0 files changed, 0 insertions, 0 deletions