diff --git a/fs/splice.c b/fs/splice.c index bfa42a277bb874ac94a34db4d3c7f593afc5410c..b450acdff3975e86713e87df718e57ca74f0d7b9 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -501,6 +501,7 @@ static int pipe_to_file(struct pipe_inode_info *info, struct pipe_buffer *buf, } else if (ret) goto out; + mark_page_accessed(page); balance_dirty_pages_ratelimited(mapping); out: if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) {