[LogFS] Erase new journal segments
authorJoern Engel <joern@logfs.org>
Mon, 29 Mar 2010 19:14:52 +0000 (21:14 +0200)
committerJoern Engel <joern@logfs.org>
Mon, 29 Mar 2010 19:14:52 +0000 (21:14 +0200)
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: Joern Engel <joern@logfs.org>

No differences found