projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag '9p-for-5.10-rc1' of git://github.com/martinetd/linux
[platform/kernel/linux-rpi.git]
/
fs
/
9p
/
vfs_file.c
diff --git
a/fs/9p/vfs_file.c
b/fs/9p/vfs_file.c
index
6ecf863
..
b177fd3
100644
(file)
--- a/
fs/9p/vfs_file.c
+++ b/
fs/9p/vfs_file.c
@@
-612,9
+612,9
@@
static void v9fs_mmap_vm_close(struct vm_area_struct *vma)
struct writeback_control wbc = {
.nr_to_write = LONG_MAX,
.sync_mode = WB_SYNC_ALL,
struct writeback_control wbc = {
.nr_to_write = LONG_MAX,
.sync_mode = WB_SYNC_ALL,
- .range_start = vma->vm_pgoff * PAGE_SIZE,
+ .range_start =
(loff_t)
vma->vm_pgoff * PAGE_SIZE,
/* absolute end, byte at end included */
/* absolute end, byte at end included */
- .range_end = vma->vm_pgoff * PAGE_SIZE +
+ .range_end =
(loff_t)
vma->vm_pgoff * PAGE_SIZE +
(vma->vm_end - vma->vm_start - 1),
};
(vma->vm_end - vma->vm_start - 1),
};