Commit 2f9e1a02 authored by Ameya Thakur's avatar Ameya Thakur
Browse files

bootcontrol: Reduce the number of writes in the set active slot function

We now write the 'gpt_disk' structure back to storage only once per each
physical disk.

Also did a minor cleanup of the code.

Change-Id: Id4fd887fe2978f9cd17447e9a1b715f0a8df5073
parent cc1b52c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment