android_kernel_motorola_sm6375/fs/fuse
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xie Yongji 19a61f92fa fuse: Pass correct lend value to filemap_write_and_wait_range()
commit e388164ea385f04666c4633f5dc4f951fca71890 upstream.

The acceptable maximum value of lend parameter in
filemap_write_and_wait_range() is LLONG_MAX rather than -1. And there is
also some logic depending on LLONG_MAX check in write_cache_pages(). So
let's pass LLONG_MAX to filemap_write_and_wait_range() in
fuse_writeback_range() instead.

Fixes: 59bda8ecee2f ("fuse: flush extending writes")
Signed-off-by: Xie Yongji <[email protected]>
Cc: <[email protected]> # v5.15
Signed-off-by: Miklos Szeredi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-01-27 09:19:49 +01:00
..
acl.c
control.c
cuse.c cuse: prevent clone 2021-05-19 10:08:22 +02:00
dev.c fuse: release pipe buf after last use 2021-12-01 09:23:35 +01:00
dir.c fuse: annotate lock in fuse_reverse_inval_entry() 2021-12-22 09:29:40 +01:00
file.c fuse: Pass correct lend value to filemap_write_and_wait_range() 2022-01-27 09:19:49 +01:00
fuse_i.h fuse: fix write deadlock 2021-05-11 14:04:16 +02:00
inode.c
Kconfig
Makefile
readdir.c
virtio_fs.c virtiofs: fix memory leak in virtio_fs_probe() 2021-05-11 14:04:14 +02:00
xattr.c