summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-11-22 17:05:31 +0800
committerMiklos Szeredi <mszeredi@redhat.com>2021-12-07 15:20:16 +0100
commite388164ea385f04666c4633f5dc4f951fca71890 (patch)
tree66457a60707bbf6952554988c3ec622403b85cb3 /scripts/gdb/linux/proc.py
parent3e2b6fdbdc9ab5a02d9d5676a005f30780b97553 (diff)
fuse: Pass correct lend value to filemap_write_and_wait_range()
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 <xieyongji@bytedance.com> Cc: <stable@vger.kernel.org> # v5.15 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions