Comment 16 for bug 1447756

Revision history for this message
Ondrej Kubik (ondrak) wrote : Re: segfault in log.c code causes phone reboot loops

Sorry in previous comment, replace all "flash" with "flush"
Actually one more issue I can see there is this:
Job dies -> it's added to log_unflushed_files when it has unflushed data
but if job is restarted before we get disk writable signal, it will mess up the things, job will still remain in log_unflushed_files
and once we call log_file_write it will try to flush unflushed data, without removing job from log_unflushed_files list