Commit 467e245d authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarJaco Kroon <jaco@uls.co.za>
parent c31f91c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment