Commit 3dd5c48b authored by Daniel Rosenberg's avatar Daniel Rosenberg Committed by Todd Kjos
Browse files

ANDROID: fuse-bpf: Fix readdir for getdents



If you call getdents with a buffer size less than a page,
entries can be skipped. This correctly sets the point to continue from.

Bug: 353382290
Test: getdents with low buffer size
Change-Id: I324e7e815d31742bd4e2d70c5d07c2b09a67a7c2
Signed-off-by: default avatarDaniel Rosenberg <drosen@google.com>
(cherry picked from commit 1225d7ed)
parent 296047e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment