mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
splice: don't call file_accessed in copy_splice_read
[ Upstream commit0b24be4691] copy_splice_read calls into ->read_iter to read the data, which already calls file_accessed. Fixes:33b3b04154("splice: Add a func to do a splice from an O_DIRECT file without ITER_PIPE") Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Christian Brauner <brauner@kernel.org> Reviewed-by: David Howells <dhowells@redhat.com> Link: https://lore.kernel.org/r/20230614140341.521331-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2b99ee760e
commit
32d07a6f57
1 changed files with 0 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue