Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c301a0e0 authored by Al Viro's avatar Al Viro Committed by Mohamad Ayyash
Browse files

[readdir] introduce iterate_dir() and dir_context



iterate_dir(): new helper, replacing vfs_readdir().

struct dir_context: contains the readdir callback (and will get more stuff
in it), embedded into whatever data that callback wants to deal with;
eventually, we'll be passing it to ->readdir() replacement instead of
(data,filldir) pair.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 78bae761
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment