* [PATCH] vfs: delete vfs_readdir function declaration
[not found] <1425351692-35022-1-git-send-email-zhenzhang.zhang@huawei.com>
@ 2015-03-03 3:05 ` Zhang Zhen
0 siblings, 0 replies; only message in thread
From: Zhang Zhen @ 2015-03-03 3:05 UTC (permalink / raw)
To: linux-fsdevel, Jan Kara; +Cc: morgan.wang, viro, Andrew Morton
vfs_readdir has been replaced by iterate_dir in commit
(5c0ba4e:[readdir] introduce iterate_dir() and dir_context).
Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
---
include/linux/fs.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index b4d71b5..81ee60c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2661,7 +2661,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 *);
--
1.8.5.5
.
^ permalink raw reply related [flat|nested] only message in thread