linux-yocto/fs/orangefs
Matthew Wilcox (Oracle) 15602508ad 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:40:08 +02:00
..
acl.c
dcache.c
devorangefs-req.c
dir.c
downcall.h
file.c
inode.c orangefs: Do not truncate file size 2025-06-04 14:40:08 +02:00
Kconfig
Makefile
namei.c
orangefs-bufmap.c
orangefs-bufmap.h
orangefs-cache.c
orangefs-debug.h
orangefs-debugfs.c orangefs: fix a oob in orangefs_debug_write 2025-02-21 13:50:00 +01:00
orangefs-debugfs.h
orangefs-dev-proto.h
orangefs-kernel.h
orangefs-mod.c
orangefs-sysfs.c
orangefs-sysfs.h
orangefs-utils.c
protocol.h
super.c
symlink.c
upcall.h
waitqueue.c
xattr.c