diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2020-10-04 19:04:22 +0100 |
---|---|---|
committer | Dominique Martinet <[email protected]> | 2020-10-07 23:57:30 +0200 |
commit | f5f7ab168b9a60e12a4b8f2bb6fcc91321dc23c1 (patch) | |
tree | 4b45d50fabc82567e0d5aaadec5d085bca747841 /kernel/trace/trace_functions.c | |
parent | 549738f15da0e5a00275977623be199fbbf7df50 (diff) |
9P: Cast to loff_t before multiplying
On 32-bit systems, this multiplication will overflow for files larger
than 4GB.
Link: http://lkml.kernel.org/r/[email protected]
Cc: [email protected]
Fixes: fb89b45cdfdc ("9P: introduction of a new cache=mmap model.")
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions