introduce iterate_dir() and dir_context
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 May 2017 09:05:23 +0000 (09:05 +0000)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:55 +0000 (18:03 +0200)
commitf18324e4e46d275fce165a192abfaf4694e072b4
treed00de63325c0cb9dec1140329c3f2bdffb4b7009
parent857aaa93698ce65fce1e95a963f52eeac2fac013
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