]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ext4: add did_zero output parameter to ext4_block_zero_page_range()
authorZhang Yi <yi.zhang@huawei.com>
Fri, 27 Mar 2026 10:29:27 +0000 (18:29 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 10 Apr 2026 01:57:51 +0000 (21:57 -0400)
commit5447c8b9de7581ca7254d712652678cc460a18c2
tree68472d51b617aa1a05c937aba76d1be84b3d5d3c
parent6ea3b34d8625ef5544d1c619bd67e2c6080ea4c2
ext4: add did_zero output parameter to ext4_block_zero_page_range()

Add a bool *did_zero output parameter to ext4_block_zero_page_range()
and __ext4_block_zero_page_range(). The parameter reports whether a
partial block was zeroed out, which is needed for the upcoming iomap
buffered I/O conversion.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260327102939.1095257-2-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c