state: backend-direct: Fix max_size
The max_size in the direct backend includes the meta data, so
substract its size when determing the max data size we can store.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 97d974d commit 583acea6669550ffa7ffb465301ddb3529206afc
@Sascha Hauer Sascha Hauer authored on 23 Mar 2017
Showing 1 changed file
View
src/barebox-state/backend_bucket_direct.c