introduce iterate_dir() and dir_context
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 May 2013 17:52:59 +0000 (13:52 -0400)
committerStricted <info@stricted.net>
Thu, 3 May 2018 16:33:29 +0000 (18:33 +0200)
commit0f8376923b3d81d30f2fece378f879d65945fec8
treeff45098a06a9240650477f5508fe6f45cbfe1510
parent949c2c1d6fb4f80f5fbc031f446fc3160ffd77a6
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.

Change-Id: Idb3843e77b97d52490b297b1f9e7d7efab18eaef
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