On Thu, 23 Nov 2023 11:20:00 +0200, Amir Goldstein wrote: > The callers of vfs_iter_write() are required to hold file_start_write(). > file_start_write() is a no-op for the S_ISBLK() case, but it is really > needed when the backing file is a regular file. > > We are going to move file_{start,end}_write() into vfs_iter_write(), but > we need to fix this first, so that the fix could be backported to stable > kernels. > > [...] Applied to the vfs.rw branch of the vfs/vfs.git tree. Patches in the vfs.rw branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.rw [1/1] scsi: target: core: add missing file_{start,end}_write() https://git.kernel.org/vfs/vfs/c/c85ff53e59e8