]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: factor out a xfs_file_write_zero_eof helper
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Oct 2024 08:59:15 +0000 (10:59 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 15 Oct 2024 09:37:42 +0000 (11:37 +0200)
commit3c399374af28b158854701da324a7bff576f5a97
treeb5bba86f0871b4d751ebc97078db645b57ab2a88
parentb78495166264fee1ed7ac44627e1dd080bbdf283
xfs: factor out a xfs_file_write_zero_eof helper

Split a helper from xfs_file_write_checks that just deal with the
post-EOF zeroing to keep the code readable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_file.c