diff mbox

vfs: delete vfs_readdir function declaration

Message ID 54F524E2.30004@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

ZhangZhen March 3, 2015, 3:05 a.m. UTC
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 mbox

Patch

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 *);