Skip to content
Commit 5c0ba4e0 authored by Al Viro's avatar Al Viro
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 83a87611
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment