Files
linux/fs/fuse
Miklos Szeredi 9de5be06d0 fuse: fix writepages on 32bit
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: 6eaf4782eb ("fuse: writepages: crop secondary requests")
Cc: <stable@vger.kernel.org> # v3.13
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2019-04-24 17:05:06 +02:00
..
2019-02-13 13:15:14 +01:00
2019-02-13 13:15:14 +01:00
2019-02-13 13:15:14 +01:00
2019-04-24 17:05:06 +02:00
2016-10-01 07:32:32 +02:00
2018-09-28 16:43:23 +02:00