]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: persist the new uptodate buffers in ext4_journalled_zero_new_buffers
authorShida Zhang <zhangshida@kylinos.cn>
Fri, 30 Aug 2024 05:37:36 +0000 (13:37 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Sep 2024 02:14:17 +0000 (22:14 -0400)
commit3910b513fcdf33030798755c722174ef4a827d2a
tree449b0eee4dc0f4e2ab24de0d99c773ef480fa0e4
parent59efe53e380ee305ec11378233adb6aaebe1856c
ext4: persist the new uptodate buffers in ext4_journalled_zero_new_buffers

For new uptodate buffers we also need to call write_end_fn() to persist the
uptodate content, similarly as folio_zero_new_buffers() does it.

Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Shida Zhang <zhangshida@kylinos.cn>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240830053739.3588573-2-zhangshida@kylinos.cn
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c