summaryrefslogtreecommitdiffstats
path: root/common/state
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-07-31 20:21:02 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-07-31 20:21:02 +0200
commit289a0611f52c7bd4efdad24e38fd78509ae506e2 (patch)
tree91227e630bbab7380066dbcd3d5059eab7f90dcb /common/state
parentb5d57479e7e492a2b1a3299faeaffa68a1aa6519 (diff)
parente19730531a167b65ffb1e3b497810dc5d1e30666 (diff)
downloadbarebox-289a0611f52c7bd4efdad24e38fd78509ae506e2.tar.gz
Merge branch 'for-next/state'
Diffstat (limited to 'common/state')
-rw-r--r--common/state/backend_bucket_circular.c2
-rw-r--r--common/state/backend_storage.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c
index 3dcff5c..f83bd67 100644
--- a/common/state/backend_bucket_circular.c
+++ b/common/state/backend_bucket_circular.c
@@ -246,7 +246,7 @@ static int state_backend_bucket_circular_read(struct state_backend_storage_bucke
read_len = min(circ->write_area, (off_t)(circ->max_size -
sizeof(struct state_backend_storage_bucket_circular_meta)));
circ->write_area = 0;
- dev_dbg(circ->dev, "Detected old on-storage format\n");
+ dev_info(circ->dev, "Detected old on-storage format\n");
} else if (circ->last_written_length > circ->write_area
|| !IS_ALIGNED(circ->last_written_length, circ->writesize)) {
circ->write_area = 0;
diff --git a/common/state/backend_storage.c b/common/state/backend_storage.c
index d2d1778..d6e7adc 100644
--- a/common/state/backend_storage.c
+++ b/common/state/backend_storage.c
@@ -393,8 +393,6 @@ int state_storage_init(struct state *state, const char *path,
} else {
return state_storage_file_buckets_init(storage);
}
-
- dev_err(storage->dev, "storage init done\n");
}
void state_storage_set_readonly(struct state_backend_storage *storage)