summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2019-04-24 17:05:06 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-11 12:23:46 +0200
commit73724958d1298f8b7e1ef82598d8dc5099a1bff8 (patch)
tree45c1fdac94d9a5f41dac600b97f171bd0b48bfc0 /tools/perf/scripts/python
parent12060f4740ca62851b0d9efb6fe72a5691b458d9 (diff)
fuse: fix writepages on 32bit
commit 9de5be06d0a89ca97b5ab902694d42dfd2bb77d2 upstream. Writepage requests were cropped to i_size & 0xffffffff, which meant that mmaped writes to any file larger than 4G might be silently discarded. Fix by storing the file size in a properly sized variable (loff_t instead of size_t). Reported-by: Antonio SJ Musumeci <trapexit@spawn.link> Fixes: 6eaf4782eb09 ("fuse: writepages: crop secondary requests") Cc: <stable@vger.kernel.org> # v3.13 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions