summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorakpm@osdl.org <akpm@osdl.org>2005-05-01 17:58:35 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 17:58:35 +0200
commitf021e9210185b46e41ec3a0e78ec1621e168eacb (patch)
tree5661ced2f5c69f737dcf7673db2ef6e852003d6d /include
parent[PATCH] ultrastor build fix (diff)
downloadlinux-f021e9210185b46e41ec3a0e78ec1621e168eacb.tar.xz
linux-f021e9210185b46e41ec3a0e78ec1621e168eacb.zip
[PATCH] generic_file_buffered_write fixes
Anton Altaparmakov <aia21@cam.ac.uk> points out: - It calls fault_in_pages_readable() which is completely bogus if @nr_segs > 1. It needs to be replaced by a to be written "fault_in_pages_readable_iovec()". - It increments @buf even in the iovec case thus @buf can point to random memory really quickly (in the iovec case) and then it calls fault_in_pages_readable() on this random memory. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions