closefs.c (ext2fs_flush): Don't write out anything beyond the primary
superblock if EXT2_INCOMPAT_JOURNAL_DEV is listed.
+2001-01-14 Theodore Ts'o <tytso@valinux.com>
+
+ * closefs.c (ext2fs_flush): Don't write out anything beyond the
+ primary superblock if EXT2_INCOMPAT_JOURNAL_DEV is
+ listed.
+
2001-01-12 Theodore Ts'o <tytso@valinux.com>
* imager.c: Fix gcc -Wall complaints and a series of bugs where
goto errout;
/*
+ * If this is an external journal device, don't write out the
+ * block group descriptors or any of the backup superblocks
+ */
+ if (fs->super->s_feature_incompat &
+ EXT3_FEATURE_INCOMPAT_JOURNAL_DEV) {
+ retval = 0;
+ goto errout;
+ }
+
+ /*
* Set the state of the FS to be non-valid. (The state has
* already been backed up earlier, and will be restored when
* we exit.)