Write out both superblocks on mismatch
authorJoern Engel <joern@logfs.org>
Fri, 26 Mar 2010 09:18:36 +0000 (10:18 +0100)
committerJoern Engel <joern@logfs.org>
Sat, 27 Mar 2010 10:19:15 +0000 (11:19 +0100)
commitfaaa27ab919799929732c356a92a160f8657ecc6
tree4df7ac1b4a5e48018fd93df4262017832f7afec0
parente326068806ee044cc617b1dc24be1293fca3fbf6
Write out both superblocks on mismatch

If the first superblock is wrong and the second gets written, there
will still be a mismatch on next mount.  Write both to make sure they
match.

Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/super.c