part/dev_desc: Add log2 of blocksize to block_dev_desc data struct
authorEgbert Eich <eich@suse.com>
Tue, 9 Apr 2013 21:11:56 +0000 (21:11 +0000)
committerChanho Park <chanho61.park@samsung.com>
Thu, 6 Aug 2015 06:02:12 +0000 (15:02 +0900)
commit7db939007c7857b1062dcc316aa2976fa3295396
treea94798cb8a33ab44c50904729300ab7ab834e5b2
parentc677db85f83fc0e74dcd4e4a8f4cf70377680ee6
part/dev_desc: Add log2 of blocksize to block_dev_desc data struct

log2 of the device block size serves as the shift value used to calculate
the block number to read in file systems when implementing avaiable block
sizes.
It is needed quite often in file systems thus it is pre-calculated and
stored in the block device descriptor.

Signed-off-by: Egbert Eich <eich@suse.com>
common/cmd_ide.c
common/cmd_sata.c
common/cmd_scsi.c
common/usb_storage.c
drivers/block/ata_piix.c
drivers/block/pata_bfin.c
drivers/block/systemace.c
drivers/mmc/mmc.c
include/part.h