Files
linux/fs/orangefs
Matthew Wilcox (Oracle) 121f0335d9 orangefs: Do not truncate file size
[ Upstream commit 062e8093592fb866b8e016641a8b27feb6ac509d ]

'len' is used to store the result of i_size_read(), so making 'len'
a size_t results in truncation to 4GiB on 32-bit systems.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/r/20250305204734.1475264-2-willy@infradead.org
Tested-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:42:02 +02:00
..
2023-01-19 09:24:28 +01:00
2023-05-24 08:42:16 -06:00
2025-06-04 14:42:02 +02:00
2023-03-06 09:57:12 +01:00