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>
This commit is contained in:
Shida Zhang 2024-08-30 13:37:36 +08:00 • committed by Theodore Ts'o
commit 3910b513fc