Write out both superblocks on mismatch
[deliverable/linux.git] / fs / logfs / super.c
index 018728120bb37e4afae99faed222c638b80e6399..006670fe9e8b2b64f80e98bb1d15828f3e33f9c8 100644 (file)
@@ -277,7 +277,7 @@ static int logfs_recover_sb(struct super_block *sb)
        }
        if (valid0 && valid1 && ds_cmp(ds0, ds1)) {
                printk(KERN_INFO"Superblocks don't match - fixing.\n");
-               return write_one_sb(sb, super->s_devops->find_last_sb);
+               return logfs_write_sb(sb);
        }
        /* If neither is valid now, something's wrong.  Didn't we properly
         * check them before?!? */
This page took 0.027571 seconds and 5 git commands to generate.