[PATCH v3 06/13] smegw01: Only commit to new partition if update was successful