[PATCH] state: backend_bucket_circular: promote old state debug message to info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A report about the changed on-storage state format might be interesting
to the user.

Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
---
 common/state/backend_bucket_circular.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c
index 3dcff5cf0..f83bd679d 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;
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux