Files
linux-stable-mirror/fs
Matthew Wilcox (Oracle) 341e3a5984 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:01 +02:00
..
2025-06-04 14:37:00 +02:00
2024-10-22 15:39:24 +02:00
2024-12-14 19:48:34 +01:00
2024-02-23 08:42:14 +01:00
2025-04-10 14:30:49 +02:00
2024-03-01 13:16:43 +01:00
2023-09-23 11:01:09 +02:00
2024-06-21 14:52:47 +02:00