[SCSI] sd: Unmap discard alignment needs to be converted to bytes
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 May 2011 04:31:07 +0000 (00:31 -0400)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 24 May 2011 16:38:15 +0000 (12:38 -0400)
commit2a8cfad06ebbb68e8c113a39bdd653297fb9369c
tree5c1aea3f2d3a6a04116775bef20d405fb084e500
parent45d7f0cc58183062adea0a1de3d8cba768134138
[SCSI] sd: Unmap discard alignment needs to be converted to bytes

The block layer discard alignment is reported in bytes, not in units of
the logical block size.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
drivers/scsi/sd.c