• Joern Engel's avatar
    [LogFS] Erase new journal segments · 6be7fa06
    Joern Engel authored
    If the device contains on old logfs image and the journal is moved to
    segment that have never been used by the current logfs and not all
    journal segments are erased before the next mount, the old content can
    confuse mount code.  To prevent this, always erase the new journal
    segments.
    Signed-off-by: default avatarJoern Engel <joern@logfs.org>
    6be7fa06
journal.c 23.5 KB