]> git.hungrycats.org Git - linux/commit
ext4: remove the redundant folio_wait_stable()
authorZhang Yi <yi.zhang@huawei.com>
Fri, 19 Apr 2024 02:30:05 +0000 (10:30 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 May 2024 19:48:04 +0000 (15:48 -0400)
commitdf0b5afc62f3368d657a8fe4a8d393ac481474c2
treec05b85fca5ec33e6d3e8c91d42b0ed66cd3af3c3
parent3f4830abd236d0428e50451e1ecb62e14c365e9b
ext4: remove the redundant folio_wait_stable()

__filemap_get_folio() with FGP_WRITEBEGIN parameter has already wait
for stable folio, so remove the redundant folio_wait_stable() in
ext4_da_write_begin(), it was left over from the commit cc883236b792
("ext4: drop unnecessary journal handle in delalloc write") that
removed the retry getting page logic.

Fixes: cc883236b792 ("ext4: drop unnecessary journal handle in delalloc write")
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240419023005.2719050-1-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c