-
Committer:
James Hunt
-
Date:
2015-04-24 12:57:48 UTC
-
Revision ID:
james.hunt@ubuntu.com-20150424125748-m1fxqdjt9sixotzj
* init/log.c:
- Make log_flushed public to allow tests to test
log_handle_unflushed() properly.
- log_handle_unflushed():
- Make log a child of the list entry and the latter a child of the
unflushed list.
- log_clear_unflushed():
- Ensure the list entry is freed along with the log to avoid an
invalid entry remaining in the list (LP: #1447756).
* init/tests/test_log.c:
- test_log_destroy(): Added new test:
- "ensure unflushed data moved to unflushed list with uid 0"