boot-block: remove blocking error on erase
When an entry is erased, remove it from the blocking array. This will
result in the d-bus object at the /xyz/openbmc_project/logging/blockX
path being deleted as well.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ib49073532588d25c4ae357917ecd6339a70d8c1e
diff --git a/log_manager.hpp b/log_manager.hpp
index 8f8ff82..700a39a 100644
--- a/log_manager.hpp
+++ b/log_manager.hpp
@@ -201,6 +201,12 @@
*/
bool isCalloutPresent(const Entry& entry);
+ /** @brief Check (and remove) entry being erased from blocking errors
+ *
+ * @param[in] entryId - The entry that is being erased
+ */
+ void checkAndRemoveBlockingError(uint32_t entryId);
+
private:
/*
* @fn _commit()