Files
linux-stable-mirror/fs
Matthew Wilcox (Oracle)andGreg Kroah-Hartman 5111227d7f orangefs: Do not truncate file size
[ Upstream commit 062e809359 ]

'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:37:58 +02:00
..
2025-06-04 14:37:56 +02:00
2024-10-22 15:40:40 +02:00
2024-12-14 19:51:44 +01:00
2025-03-13 12:49:51 +01:00
2025-04-10 14:31:50 +02:00
2025-03-13 12:49:50 +01:00