summaryrefslogtreecommitdiffstats
path: root/serialize.cpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-01-17 11:17:31 -0600
committerGunnar Mills <gmills@us.ibm.com>2018-01-17 16:03:16 -0600
commitfedbf3d321aff7bc76955aaffff54e88edbe270f (patch)
tree2e0ceca947a618bbf67876287e75a983db9f4a93 /serialize.cpp
parent7cb480ed7b0fc76eca66b1eaadb99d54da28e1ae (diff)
downloadopenpower-pnor-code-mgmt-fedbf3d321aff7bc76955aaffff54e88edbe270f.tar.gz
openpower-pnor-code-mgmt-fedbf3d321aff7bc76955aaffff54e88edbe270f.zip
fix item updater freeSpace()
Fixed freeSpace() to remove more than 1 version if that is what is needed to get the number of active PNOR versions at ACTIVE_PNOR_MAX_ALLOWED -1. Currently, ACTIVE_PNOR_MAX_ALLOWED is set to 2. We have seen cases where there are 3 active PNOR versions. In those cases, freeSpace() only removes 1 active PNOR version, when it should remove 2 to bring the total number of active PNOR versions to 1. Resolves openbmc/openbmc#2806 Change-Id: I0e9f5b6835298ae86091848f889bbc316e0a7f57 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'serialize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud