]> www.infradead.org Git - users/willy/xarray.git/commit
ext4: remove the special buffer dirty handling in do_journal_get_write_access
authorShida Zhang <zhangshida@kylinos.cn>
Fri, 30 Aug 2024 05:37:39 +0000 (13:37 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Sep 2024 02:14:17 +0000 (22:14 -0400)
commit183aa1d3baea18b199505455a0247b13de826e2f
treeedb6a9f4f0dc4763daed3713eaa624dee8c8e3ae
parentcb3de5fc876ee9ef2b830c9e6cdafac5c90903ef
ext4: remove the special buffer dirty handling in do_journal_get_write_access

This kinda revert the commit 56d35a4cd13e("ext4: Fix dirtying of
journalled buffers in data=journal mode") made by Jan 14 years ago,
since the do_get_write_access() itself can deal with the extra
unexpected buf dirting things in a proper way now.

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-5-zhangshida@kylinos.cn
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c