fs/smartfs : adjust log level regarding sector recovery
Change log level to verbose about freeing node, and change to error regarding invalidate entry
@@ -2269,9 +2269,9 @@ int smartfs_invalidate_old_entry(struct smartfs_mountpt_s *fs, uint16_t logsecto
/* OK, we found 2 parents, now release old one, that is probably source path of rename */
if (count == 2) {
- fvdbg("firstparent logsector : %d parentsector : %d parentoffset : %d time : %d\n", firstparent->logsector,\
+ fdbg("firstparent logsector : %d parentsector : %d parentoffset : %d time : %d\n", firstparent->logsector,\
firstparent->parentsector, firstparent->parentoffset, firstparent->time);
- fvdbg("secondparent logsector : %d parentsector : %d parentoffset : %d time : %d\n", secondparent->logsector,\
+ fdbg("secondparent logsector : %d parentsector : %d parentoffset : %d time : %d\n", secondparent->logsector,\
secondparent->parentsector, secondparent->parentoffset, secondparent->time);
if (firstparent->time > secondparent->time) {
ret = smartfs_invalidateentry(fs, secondparent->parentsector, secondparent->parentoffset);
@@ -2488,7 +2488,7 @@ errout:
while (!sq_empty(&entry_queue)) {
node = (struct sector_entry_queue_s *)sq_remfirst(&entry_queue);
if (node) {
- fdbg("free node's sector : %d\n", node->logsector);
+ fvdbg("free node's sector : %d\n", node->logsector);
kmm_free(node);
}
}
