e2fsprogs/resize
Theodore Ts'o 058ad1c70c Don't write changes to the backup superblocks by default
This patch changes ext2fs_open() to set EXT2_FLAG_MASTER_SB_ONLY by
default.  This avoids some problems in e2fsck (reported by Jim Garlick)
where a corrupt journal can end up writing the bad superblock to the
backups.  In general, only e2fsck (after the filesystem is clean),
tune2fs, and resize2fs should change the backup superblocks by default.
Most callers of ext2fs_open() should not be touching anything where the
backups should be touched.  So let's change the defaults to avoid
potential problems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-06-18 18:26:50 -04:00
..
ChangeLog Don't write changes to the backup superblocks by default 2007-06-18 18:26:50 -04:00
Makefile.in Add support for on-line resizing to resize2fs 2006-03-17 19:45:45 -05:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
extent.c ext2fs_getmem(), ext2fs_free_mem(), and ext2fs_resize_mem() 2003-08-01 09:41:07 -04:00
main.c Fix gcc -Wall warnings, especially on 64-bit systems 2007-05-25 11:18:11 -04:00
online.c Fix gcc -Wall warnings, especially on 64-bit systems 2007-05-25 11:18:11 -04:00
resize2fs.8.in Fix spelling mistakes in e2fsck, mke2fs.conf, and resize2fs man pages 2006-05-22 17:59:37 -04:00
resize2fs.c Don't write changes to the backup superblocks by default 2007-06-18 18:26:50 -04:00
resize2fs.h Fix gcc -Wall warnings, especially on 64-bit systems 2007-05-25 11:18:11 -04:00
sim_progress.c Fix gcc -Wall warnings, especially on 64-bit systems 2007-05-25 11:18:11 -04:00
test_extent.c Many files: 2000-04-06 21:38:34 +00:00
test_extent.in Many files: 1997-06-17 03:52:12 +00:00