Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 163a4169 authored by Colin Cross's avatar Colin Cross Committed by Ruchi Kandoi
Browse files

mmc_block: Allow more than 8 partitions per card



Set the GENHD_FL_EXT_DEVT flag, which will allocate minor numbers
in major 259 for partitions past disk->minors.

Also remove the use of disk_devt to determine devidx from md->disk.
md->disk->first_minor is always initialized from devidx and can
always be used to recover it.

Signed-off-by: default avatarColin Cross <ccross@android.com>
parent c8e2b5b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment