]> git.itanic.dy.fi Git - linux-stable/commit
ext4: Drop special handling of journalled data from ext4_evict_inode()
authorJan Kara <jack@suse.cz>
Wed, 29 Mar 2023 15:49:40 +0000 (17:49 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 14 Apr 2023 23:56:53 +0000 (19:56 -0400)
commit56c2a0e3d90d3822fab157883957523e327bc9ae
tree9d9706a61cf4f1535f070e2ffac94e93396098fe
parent783ae448b7a21ca59ffe5bc261c17d9c3ebfe2ad
ext4: Drop special handling of journalled data from ext4_evict_inode()

Now that ext4_writepages() makes sure journalled data is on stable
storage, write_inode_now() call in iput_final() is enough to make
pagecache pages with journalled data really clean (data committed and
checkpointed). So we can drop special handling of journalled data in
ext4_evict_inode().

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230329154950.19720-9-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c