]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tune2fs: move the journal recovery before we try to modify the superblock
authorTheodore Ts'o <tytso@mit.edu>
Sat, 24 Feb 2018 23:07:44 +0000 (18:07 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 24 Feb 2018 23:07:44 +0000 (18:07 -0500)
commitf5eb38e816c0a6329ae19464702b75de3f5d8ddf
treea7116bd5bda51e5afb3e7bcaacece05d090ea008
parentee8b61e9b0acf23759f83fb255f720cdfbd8f233
tune2fs: move the journal recovery before we try to modify the superblock

Also change the t_replay_and_set test so that we do something more
innocuous, such as setting the file system label, instead of something
much more dangerous such as removing metadata_csum feature (which
requires rewriting the metadat checksums, and this will fail
catastrophically after the test corrupts the inode bitmaps and we
perform the journal replay correctly).

Reported-by: NeilBrown <neilb@suse.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c
tests/t_replay_and_set/expect
tests/t_replay_and_set/script