From e703d1ed730df92011f37692780b40fef110dd07 Mon Sep 17 00:00:00 2001 From: Michael Grzeschik Date: Wed, 6 Jul 2016 10:19:45 +0200 Subject: state: also append backend storage stridesize Signed-off-by: Michael Grzeschik Signed-off-by: Sascha Hauer --- common/state/backend_storage.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common/state/backend_storage.c') diff --git a/common/state/backend_storage.c b/common/state/backend_storage.c index efe8bac05d..c4508a8aba 100644 --- a/common/state/backend_storage.c +++ b/common/state/backend_storage.c @@ -477,6 +477,7 @@ int state_storage_init(struct state_backend_storage *storage, INIT_LIST_HEAD(&storage->buckets); storage->dev = dev; storage->name = storagetype; + storage->stridesize = stridesize; ret = mtd_get_meminfo(path, &meminfo); if (!ret && !(meminfo.flags & MTD_NO_ERASE)) { -- cgit v1.2.3