• Al Viro's avatar
    [readdir] introduce iterate_dir() and dir_context · 5c0ba4e0
    Al Viro authored
    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>
    5c0ba4e0
expfs.c 12.7 KB