diff options
author | Amir Goldstein <[email protected]> | 2023-11-23 11:20:00 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-11-24 09:22:27 +0100 |
commit | 0db1d53937fafa8bb96e077375691e16902f4899 (patch) | |
tree | bdf1d07be0bc9fe58d57e6964ea93d999ad73409 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
scsi: target: core: add missing file_{start,end}_write()
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.
Suggested-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Cc: <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Martin K. Petersen <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions