linux/fs/overlayfs
Miklos Szeredi e0410e956b
readdir: supply dir_context.count as readdir buffer size hint
This is a preparation for large readdir buffers in fuse.

Simply setting the fuse buffer size to the userspace buffer size should
work, the record sizes are similar (fuse's is slightly larger than libc's,
so no overflow should ever happen).

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Link: https://lore.kernel.org/20250513151012.1476536-1-mszeredi@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-05-15 11:26:05 +02:00
..
copy_up.c ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up 2025-02-19 18:06:53 +01:00
dir.c VFS: Change vfs_mkdir() to return the dentry. 2025-03-05 11:52:50 +01:00
export.c ovl: support encoding fid from inode with no alias 2025-01-06 15:43:55 +01:00
file.c ovl: convert ovl_real_fdget() callers to ovl_real_file() 2024-11-15 08:56:49 +01:00
inode.c overlayfs updates for 6.13 2024-11-22 20:55:42 -08:00
Kconfig fs: prepare for stackable filesystems backing file helpers 2023-12-23 16:35:08 +02:00
Makefile ovl: Move xattr support to new xattrs.c file 2023-10-31 00:12:59 +02:00
namei.c assorted stuff for this merge window 2025-02-01 15:07:56 -08:00
overlayfs.h VFS: Change vfs_mkdir() to return the dentry. 2025-03-05 11:52:50 +01:00
ovl_entry.h ovl: mark xwhiteouts directory with overlay.opaque='x' 2024-01-23 12:39:48 +02:00
params.c ovl: allow to specify override credentials 2025-02-19 14:32:09 +01:00
params.h ovl: store and show the user provided lowerdir mount option 2023-10-31 00:13:02 +02:00
readdir.c readdir: supply dir_context.count as readdir buffer size hint 2025-05-15 11:26:05 +02:00
super.c vfs-6.15-rc1.async.dir 2025-03-24 10:47:14 -07:00
util.c tree-wide: s/revert_creds_light()/revert_creds()/g 2024-12-02 11:25:09 +01:00
xattrs.c ovl: use wrapper ovl_revert_creds() 2024-11-11 10:45:04 +01:00