diff options
author | Jan Kara <jack@suse.cz> | 2023-03-29 17:49:44 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-04-14 20:02:37 -0400 |
commit | d0ab8368c175f7b5ef0851283a2ba362a9ab327a (patch) | |
tree | cd67b2d62450dcc62fbc70a18fae5afda77b2c4c /fs/ext4/super.c | |
parent | ab382539adcb43f52d984abf58d8e3459cd707a2 (diff) | |
download | linux-stable-d0ab8368c175f7b5ef0851283a2ba362a9ab327a.tar.gz linux-stable-d0ab8368c175f7b5ef0851283a2ba362a9ab327a.tar.bz2 linux-stable-d0ab8368c175f7b5ef0851283a2ba362a9ab327a.zip |
Revert "ext4: Fix warnings when freezing filesystem with journaled data"
After making ext4_writepages() properly clean all pages there is no need
for special treatment of filesystem freezing. Revert commit
e6c28a26b799c7640b77daff3e4a67808c74381c.
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230329154950.19720-13-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index a876ebd534a8..690faf766d23 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -6293,17 +6293,6 @@ static int ext4_freeze(struct super_block *sb) if (error < 0) goto out; - /* - * Do another sync. We really should not have any dirty data - * anymore but our checkpointing code does not clear page dirty - * bits due to locking constraints so writeback still can get - * started for inodes with journalled data which triggers - * annoying warnings. - */ - error = sync_filesystem(sb); - if (error < 0) - goto out; - /* Journal blocked and flushed, clear needs_recovery flag. */ ext4_clear_feature_journal_needs_recovery(sb); if (ext4_orphan_file_empty(sb)) |