state: backend_storage: Set needs_refresh back to 0 after refreshing
This ports the following barebox commit:

| commit 275f354
| Author: Sascha Hauer <s.hauer@pengutronix.de>
| Date:   Wed Apr 19 10:18:42 2017 +0200
|
|     state: backend_storage: Set needs_refresh back to 0 after refreshing
|
|     Set needs_refresh back to 0 after refreshing so that we do not refresh
|     it again without need. This would only happen when we read the state
|     from the storage multiple times, which normally is not the case.
|     However, it's more consistent like this.
|
|     Reported-by: Sam Ravnborg <sam@ravnborg.org>
|     Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
1 parent 02ca39f commit e51096e54f8638f8b657d594b4cc81e3dda8870c
@Ulrich Ölmann Ulrich Ölmann authored on 18 Dec 2018
Roland Hieber committed on 7 Jan 2019
Showing 1 changed file
View
src/barebox-state/backend_storage.c