summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-07-18 15:15:23 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-07-20 12:16:23 +0200
commit0f5ecafbe3b3f999dc187d49ebeda6167967e995 (patch)
treeabf1b6abed8cc139d609c6776692e222208fe564 /common
parente667f820eb373f221c9c220341178fe5e869d15a (diff)
downloadbarebox-0f5ecafbe3b3f999dc187d49ebeda6167967e995.tar.gz
barebox-0f5ecafbe3b3f999dc187d49ebeda6167967e995.tar.xz
state: backend_bucket_circular: promote old state debug message to info
A report about the changed on-storage state format might be interesting to the user. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/state/backend_bucket_circular.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c
index 7c81cdfaff..a4af32a759 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;