Cleanup: Be consistent and use BDRV_SECTOR_SIZE instead of 512
commiteb5a316514144bc1def4cb9b88fb996420ca80cc
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 27 May 2010 14:20:31 +0000 (27 16:20 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Jun 2010 09:43:39 +0000 (4 11:43 +0200)
tree5af1d11f31fe2b0cd376828f6e498720f98acd5e
parent3e82990b52d5afeb4957dd9b87be83d752e369b9
Cleanup: Be consistent and use BDRV_SECTOR_SIZE instead of 512

Clean up block.c and use BDRV_SECTOR_SIZE rather than hard coded
numbers (512) when referring to sector size throughout the code.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c