Files
linux-stable-mirror/fs
Matthew Wilcox (Oracle)andGreg Kroah-Hartman cd918ec241 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-05-29 11:02:28 +02:00
..
2024-10-17 00:28:06 -07:00
2024-12-14 20:04:14 +01:00
2025-04-25 10:47:53 +02:00
2025-02-08 09:56:51 +01:00
2025-01-23 17:22:55 +01:00
2025-03-22 12:54:15 -07:00
2025-05-02 07:59:29 +02:00
2024-12-05 14:02:47 +01:00
2025-01-17 13:40:50 +01:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00