From de49f015a4585900ca40e291f9b9a827714f0d8f Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 30 Jul 2001 16:31:30 -0400 Subject: [PATCH] tune2fs.c (update_feature_set): Don't require a forced fsck if we're removing an external journal from a filesystem. --- misc/ChangeLog | 5 +++++ misc/tune2fs.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index 4aaf749..f468d82 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,8 @@ +2001-07-30 Theodore Tso + + * tune2fs.c (update_feature_set): Don't require a forced fsck if + we're removing an external journal from a filesystem. + 2001-07-27 Theodore Tso * mke2fs.c (PRS): If the blocksize is not specified and the diff --git a/misc/tune2fs.c b/misc/tune2fs.c index 5150780..59eb418 100644 --- a/misc/tune2fs.c +++ b/misc/tune2fs.c @@ -243,8 +243,10 @@ static void update_feature_set(ext2_filsys fs, char *features) exit(1); } } - if (sb->s_journal_dev) + if (sb->s_journal_dev) { remove_journal_device(fs); + journal = old_journal; + } } if (journal && !old_journal) { /* -- 1.8.3.1