state: bucket_cached: Fix reading pages which need cleanup
When the raw device returns -EUCLEAN we have to return
successfully to the upper layer, otherwise it will discard the
data.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 89135e5 commit daa27f0a69aeb5dcb3a7a2e5dc2ae35c465e7782
@Sascha Hauer Sascha Hauer authored on 20 Mar 2017
Showing 1 changed file
View
src/barebox-state/backend_bucket_cached.c