• A
    [readdir] introduce iterate_dir() and dir_context · 5c0ba4e0
    Al Viro 提交于
    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: NAl Viro <viro@zeniv.linux.org.uk>
    5c0ba4e0
vfs.c 54.3 KB