commit | 5c0ba4e0762e6dabd14a5c276652e2defec38de7 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed May 15 13:52:59 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jun 29 12:46:46 2013 +0400 |
tree | cc2c94d81a631b0656782e1f8299da3267871964 | |
parent | 83a8761142cb38536e9e88dfc2432d331ea4e257 [diff] |
[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: Al Viro <viro@zeniv.linux.org.uk>