Skip to content
Snippets Groups Projects
Commit 0472fbfd authored by Egbert Eich's avatar Egbert Eich Committed by Tom Rini
Browse files

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: default avatarEgbert Eich <eich@suse.com>
parent bc8d9871
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment