introduce iterate_dir() and dir_context
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 May 2013 17:52:59 +0000 (13:52 -0400)
committerPawel Osmialowski <p.osmialowsk@mcdsrvbld02.digital.local>
Fri, 27 Mar 2015 17:13:00 +0000 (18:13 +0100)
commit9df021293f6c340fd7f1b0f9b9ab522d8e58abdf
tree5f8412df14d2188661eca19bdda44d1459fd268c
parent984c90e9e07e4788ca51ab089d0bbe09b8eb8780
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>
Documentation/filesystems/porting
arch/alpha/kernel/osf_sys.c
arch/parisc/hpux/fs.c
fs/compat.c
fs/ecryptfs/file.c
fs/exportfs/expfs.c
fs/nfsd/nfs4recover.c
fs/nfsd/vfs.c
fs/readdir.c
include/linux/fs.h