• Robert Hancock's avatar
    disk: part: Don't skip partition init · 4edfabd9
    Robert Hancock authored
    blk_get_device_by_str was skipping part_init when hw partition 0 was
    selected because it is the default. However, this caused issues when
    switching to a non-zero partition and then back to partition zero, as
    stale data from the wrong partition was returned.
    
    Remove this optimization and call part_init regardless of the selected
    partition.
    Signed-off-by: 's avatarRobert Hancock <hancock@sedsystems.ca>
    4edfabd9
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
part.c Loading commit data...
part_amiga.c Loading commit data...
part_amiga.h Loading commit data...
part_dos.c Loading commit data...
part_dos.h Loading commit data...
part_efi.c Loading commit data...
part_iso.c Loading commit data...
part_iso.h Loading commit data...
part_mac.c Loading commit data...
part_mac.h Loading commit data...