ext4: Don't unlock page in ext4_bio_write_page()
authorJan Kara <jack@suse.cz>
Tue, 28 Feb 2023 05:13:16 +0000 (00:13 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 23 Mar 2023 14:06:07 +0000 (10:06 -0400)
commitf1496362e9d7b37fe6b8983086c1548a601b5594
tree82021c1eb96717e0b3223d1aaa5db532e5cdcb50
parent3f5d30636d2a188ee3cd22c6fef1ace5304a07bf
ext4: Don't unlock page in ext4_bio_write_page()

Do not unlock the written page in ext4_bio_write_page(). Instead leave
the page locked and unlock it in the callers. We'll need to keep the
page locked for data=journal writeback for a bit longer.

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