summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Zhen <zhenzhang.zhang@huawei.com>2015-04-15 16:12:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-15 16:35:16 -0700
commitf2b91d8d385d2cef3a1e3b3846f2dde4a6720c43 (patch)
tree0699c27e033b804f1c11f97f3dbabf2591e9a742
parent6c373ca89399c5a3f7ef210ad8f63dc3437da345 (diff)
vfs: delete vfs_readdir function declaration
vfs_readdir() was replaced by iterate_dir() in commit 5c0ba4e0762e ("[readdir] introduce iterate_dir() and dir_context"). Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/fs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index d502e5436c84..60733bdc74b4 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2684,7 +2684,6 @@ void inode_sub_bytes(struct inode *inode, loff_t bytes);
loff_t inode_get_bytes(struct inode *inode);
void inode_set_bytes(struct inode *inode, loff_t bytes);
-extern int vfs_readdir(struct file *, filldir_t, void *);
extern int iterate_dir(struct file *, struct dir_context *);
extern int vfs_stat(const char __user *, struct kstat *);