]> git.baikalelectronics.ru Git - kernel.git/commit
[readdir] introduce iterate_dir() and dir_context
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 May 2013 17:52:59 +0000 (13:52 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:46 +0000 (12:46 +0400)
commita228a24afc61697c5cd3eab28149b2379e8f7189
treecc2c94d81a631b0656782e1f8299da3267871964
parentd1edfff5ea637f3b1297be6dbe9601f207be16ef
[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>
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