aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/dir.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2020-02-06 16:39:28 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2020-02-06 16:39:28 +0100
commit2f1398291bf35fe027914ae7a9610d8e601fbfde (patch)
treebf2d245ba2d6ea3937423cc5080228474b759a76 /fs/fuse/dir.c
parentfix up iter on short count in fuse_direct_io() (diff)
downloadlinux-dev-2f1398291bf35fe027914ae7a9610d8e601fbfde.tar.xz
linux-dev-2f1398291bf35fe027914ae7a9610d8e601fbfde.zip
fuse: don't overflow LLONG_MAX with end offset
Handle the special case of fuse_readpages() wanting to read the last page of a hugest file possible and overflowing the end offset in the process. This is basically to unbreak xfstests:generic/525 and prevent filesystems from doing bad things with an overflowing offset. Reported-by: Xiao Yang <ice_yangxiao@163.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/dir.c')
0 files changed, 0 insertions, 0 deletions