mirror of https://github.com/schoebel/mars
light: improve debugging of replaylink
This commit is contained in:
parent
3aa9ed6926
commit
58a0db4280
|
@ -1380,6 +1380,11 @@ int _update_replaylink(struct mars_global *global, const char *parent_path, cons
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_MARS_DEBUG
|
||||||
|
if (unlikely(start_pos > end_pos)) {
|
||||||
|
MARS_ERR("old='%s' new='%s' start_pos = %lld end_pos = %lld\n", old, new, start_pos, end_pos);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
/* Check whether something really has changed (avoid
|
/* Check whether something really has changed (avoid
|
||||||
* useless/disturbing timestamp updates)
|
* useless/disturbing timestamp updates)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue