summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAl Viro2016-11-11 00:32:13 +0100
committerAl Viro2016-11-11 00:32:13 +0100
commite519e7774784f3fa7728657d780863805ed1c983 (patch)
tree57ed4eac0972a837383976c451fe76a3003bce0f /Documentation
parentmm/filemap: don't allow partially uptodate page for pipes (diff)
downloadkernel-qcow2-linux-e519e7774784f3fa7728657d780863805ed1c983.tar.gz
kernel-qcow2-linux-e519e7774784f3fa7728657d780863805ed1c983.tar.xz
kernel-qcow2-linux-e519e7774784f3fa7728657d780863805ed1c983.zip
splice: remove detritus from generic_file_splice_read()
i_size check is a leftover from the horrors that used to play with the page cache in that function. With the switch to ->read_iter(), it's neither needed nor correct - for gfs2 it ends up being buggy, since i_size is not guaranteed to be correct until later (inside ->read_iter()). Spotted-by: Abhi Das <adas@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions