diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-12-18 13:58:37 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-20 21:46:20 +0000 |
| commit | 39ebd6dce62d8cfe3864e16148927a139f11bc9a (patch) | |
| tree | 4f4f8bf8c76244f796cf8d44610d296e1a6a5ef6 /tools/testing/radix-tree/maple.c | |
| parent | mm/memory-failure: check the mapcount of the precise page (diff) | |
| download | kernel-39ebd6dce62d8cfe3864e16148927a139f11bc9a.tar.gz kernel-39ebd6dce62d8cfe3864e16148927a139f11bc9a.zip | |
mm/memory-failure: cast index to loff_t before shifting it
On 32-bit systems, we'll lose the top bits of index because arithmetic
will be performed in unsigned long instead of unsigned long long. This
affects files over 4GB in size.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 6100e34b2526 ("mm, memory_failure: Teach memory_failure() about dev_pagemap pages")
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/maple.c')
0 files changed, 0 insertions, 0 deletions
